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?
01 | name = "Humanoid" |
02 |
03 | robo = script.Parent:clone() |
04 |
05 | while true do |
06 | wait( 1 ) |
07 | if script.Parent.Humanoid.Health< 1 then |
08 | robot = robo:clone() |
09 | robot.Parent = script.Parent.Parent |
10 | robot:makeJoints() |
11 | script.Parent:remove() |
12 | end |
13 | end |
The wait time shouldn't affect the code you have there. What's in the output?