|
| 08 Jan 2015 11:59 AM |
if script.Parent.Humanoid.Health == <1 then script.Parent.PArent.Parent:destroy() else end end |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2015 12:02 PM |
if script.Parent.Humanoid.Health <= 1 then
or
if script.Parent.Humanoid.Health < 1 then
Also, get rid of the random else and extra end.
if script.Parent.Humanoid.Health < 1 then script.Parent.Parent.Parent:Destroy() --You have two capitalization errors on this line too. end
You can also use the Humanoid.Died event, it would be better. |
|
|
| Report Abuse |
|
|
| |
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 08 Jan 2015 01:35 PM |
| script.Parent.PArent.Parent:destroy() > script.Parent.Parent.Parent:Destroy() |
|
|
| Report Abuse |
|
|