//if the human wins, it plays the win sound effect, changes title card to say that the human won, and then starts the reset coroutine public void HWin() { if (end == false) { end = true; sm.playWin(); tXM.HWin(); //saves win winner = "human"; StartCoroutine(waitThenReset()); } }