I need help looping this script to play every 20 seconds. I have tried stuff like
while true do
but still doesn't work.
wait(33) local p = game.Players:GetChildren() for i = 1, #p do p[i].Character:MoveTo(Vector3.new(531, 159, 451)) end
This script teleport players every 33 players. Expect it only does it once.
Someone help and thanks.
you can do
local p = game.Players:GetChildren() while wait(33) do for i = 1, #p do p[i].Character:MoveTo(Vector3.new(531, 159, 451)) end
not sure if thats what ur trying to say?
Locked by OldPalHappy
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?