of     1   

KodakKid3
#140786482Friday, July 18, 2014 11:12 PM GMT

I've removed the normal Health GUI and replaced it with my own. When my health bar depletes, I want it to kill the player. Normally, if I wanted to kill someone, I would just make their health zero, but seeing as I have removed the standard GUI, how would I kill them?
Notunknown99
#140786592Friday, July 18, 2014 11:13 PM GMT

Make their Health 0.
Tunicus
#140786642Friday, July 18, 2014 11:13 PM GMT

Player.Character.Humanoid.Health = 0 or Player.Character:BreakJoints()
DonteRocksSB
#140786784Friday, July 18, 2014 11:14 PM GMT

You can remove the GUI. I don't think it has anything to do with the humanoid health. So I believe its that same way. The GUI just displayed the value of health to the humanoid. You should be safe.
KodakKid3
#140786872Friday, July 18, 2014 11:15 PM GMT

oh yeah
KodakKid3
#140787033Friday, July 18, 2014 11:16 PM GMT

If this is the script though, and it's inside some GUIs, how do I get to the player's humanoid? Is it Local Humanoid or something? health = script.Parent.Size.X.Offset while true do if health <= 0 then --KILL end end

    of     1