//Called when the kill button is pressed public void Kill() { //Send notification for the player to be killed playerKillDetector.Killed(); //Start the CoolDown StartCoroutine(ResetKill()); }