Well I made this script but I want it to wait a few seconds, but when I put it for more than a second it doesn't work. Can someone help me?
name="Humanoid"
robo=script.Parent:clone()
while true do
wait(1)
if script.Parent.Humanoid.Health<1 then
robot=robo:clone()
robot.Parent=script.Parent.Parent
robot:makeJoints()
script.Parent:remove()
end
end

2 comments
It makes my game freeze when I start playing :/
Your script must have error then, I can't see one tho.