I'm trying to make a script that disables a teleport pad, waits a bit, than re-enables it (over and over again) Kinda like the games where you queue and join. Here is the script.
wait(60)
script.disabled=true
wait(5)
script.disabled=false
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Head.CFrame = CFrame.new(65, 12, 20)
end
end)
yes, i know script.disabled stops the script, but I'm not a great scripter.

1 comment
Try putting in a while loop.