name="Humanoid"
robo=script.Parent:clone()
while true do
wait(10)
if script.Parent.Humanoid.Health<1 then
robot=robo:clone()
robot.Parent=script.Parent.Parent
robot:makeJoints()
script.Parent:remove()
end
end
I used this respawn script for an ai humanoid, but i want to add a wait before the ai humanoid respawns, because it respawns after only like 3 seconds, regular player respawn time. I've tried adding waits but it won't work. Help?
