public void ApplyDamage(int damage) { Health -= damage; if (Health <= 0) { TempRespawnPlayer(); eManager.RemoveHalfScraps(); //We will need to verify many things on this implementation later, for now, we will only make the player //get back to its initial position and lose half of his current scraps. //---------KillThisPlayer(); //---------ActivateRespawnMenu(true); } }