|
| 12 Sep 2016 08:47 PM |
how do i make it wait for the humanoids health to be less then 1? the script doesn't wait:
if game.workspace.Zombie.Humanoid.Heath == > 1 then print ("TheScriptIsWorking:D") end |
|
|
| Report Abuse |
|
|
|
| 12 Sep 2016 08:48 PM |
repeat wait() until game.workspace.Zombie.Humanoid.Health => 1 print ("TheScriptIsWorking:D")
|
|
|
| Report Abuse |
|
|
|
| 12 Sep 2016 08:50 PM |
game.workspace.Zombie.Humanoid.Changed:connect(function(property) if property == "Health" and game.workspace.Zombie.Humanoid.Health >= 1 then print("TheScriptIsWorking:D") end end)
^efficient |
|
|
| Report Abuse |
|
|
|
| 12 Sep 2016 08:51 PM |
@Green
Nobody cares on ROBLOX, it doesn't matter. Leave. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Sep 2016 08:56 PM |
| i helped him and you are killing me, gg. |
|
|
| Report Abuse |
|
|
Aalok
|
  |
| Joined: 20 Jun 2014 |
| Total Posts: 1136 |
|
|
| 12 Sep 2016 09:05 PM |
game.wait(time) game.workspace.Zombie.Humanoid.Changed:connect(function(property) if property == "Health" and game.workspace.Zombie.Humanoid.Health >= 1 then print("TheScriptIsWorking:D") end end)
^ works add a something thingy
dude its ok its just a social experiment ( gone wrong ) (atr exposed) |
|
|
| Report Abuse |
|
|