// Update is called once per frame void Update() { if (state.Equals("PLAY")) { scores[round] += Time.deltaTime; hudScript.IncrementScore(round + 1, scores[round]); } }