// Update is called once per frame void Update() { timeSinceLevelStarted += Time.deltaTime; if (!timeUp && timeSinceLevelStarted >= secondsInLevel) { timeUp = true; peopleController.SendEveryoneHome(); arrow.StopAndFlash(); } }