Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
|
| 15 Aug 2012 09:06 PM |
How do I change this respawn script so two are respawned instead of one?
name="Octopus"
robo=script.Parent:clone()
while true do wait(1) if script.Parent.Octopus.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end |
|
|
| Report Abuse |
|
|
UnAdmin
|
  |
| Joined: 10 Jul 2012 |
| Total Posts: 4706 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|
|
| 15 Aug 2012 10:03 PM |
UnAdmin's would almost work. Try this:
while true do wait(1) if script.Parent.Octopus.Health<1 then for i=1,spawn do robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() end script.Parent:remove() end end
|
|
|
| Report Abuse |
|
|
Zerio920
|
  |
| Joined: 06 Apr 2012 |
| Total Posts: 3311 |
|
| |
|