|
| 16 Nov 2014 02:58 PM |
while true do wait()
if script.Parent.Size.X.Offset <= -135 then game.Players.LocalPlayer.Character.Humanoid.Health = 0
end end
If the hunger gui is lowered fully, the character will die. What is wrong? |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 16 Nov 2014 02:59 PM |
| You can put that code in the changed event I gave you on your last post rather than putting it in an infinite loop. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Nov 2014 03:10 PM |
| Did you check the output? The script is okay. |
|
|
| Report Abuse |
|
|