This is what will fix the health glitch. Add what bradcast you used to show that the player was defeated after the set variable to 0 block