public IEnumerator WaitAndCheck() { changeHealth.text = currentHealth.ToString(); yield return(new WaitForSeconds(1.0f)); hitstun = false; audioS.PlayHurt(); if (currentHealth <= 0) { GameOver(); } }