|
| 09 Sep 2013 02:22 PM |
name="Humanoid"
robo=script.Parent:clone()
while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=game.Workspace robot:makeJoints() script.Parent:remove()
end
end
this keeps geting a parent nil or something anyone know why? |
|
|
| Report Abuse |
|
|
|
| 09 Sep 2013 02:28 PM |
| if script.Parent.name.Health<1 then |
|
|
| Report Abuse |
|
|
|
| 09 Sep 2013 02:43 PM |
| The humanoid is named Humanoid already but something isnt letting it work on that line |
|
|
| Report Abuse |
|
|
Merilo
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 500 |
|
|
| 09 Sep 2013 03:00 PM |
| By default, the character is not Archivable, so you can't clone it because of that. |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Sep 2013 03:23 PM |
name="Humanoid"
robo=script.Parent:clone()
while true do wait(1) if script.Parent.Humanoid.Health<1 then -- this lines messed up cant index parent or something robot=robo:clone() robot.Parent=game.Workspace.Zombies robot:makeJoints() script.Parent:remove() end end
|
|
|
| Report Abuse |
|
|