IEnumerator PersonSeen() { yield return new WaitForSeconds(3.0f); SuspicionController slider = GameObject.FindGameObjectWithTag("SuspicionSlider").GetComponent<SuspicionController>(); slider.IncreaseSuspicionByAmount(5000); }