the intended use of this script is so when ever the script cycles through, it will move all the players to there respective spawn point. (there are 8, all numbered 1 - 8). the problem is that it does not move the player and does not give out any errors. [Filtering Enabled is active]
local GameTime = 5
local InterTime = 5
players = game.Players:GetChildren()
while wait() do
if game.Players.NumPlayers >= 2 then
for i = 0,InterTime,1 do
wait(1)
print(i)
end
lastusedpoint = 0
for i,player in pairs(players) do
if player.Character ~= nil then
lastusedpoint = lastusedpoint + 1
player.Character:MoveTo(workspace.Points:GetChildren()[lastusedpoint].Position)
end
end
wait(GameTime)
else
end
end

2 comments
Local script? FE Is enabled so you might have to do it by the server.
not a localscript