//Assigns initial health to the HealthBarController when respawner is called public void AssignInitialHealth() { health = maxHealth; healthbar.AssignInitialHealth(); healthbar.UpdateHealth(0); }