This script won't work and won't give off any errors, I used prints and it errors at the for loop????
s = game.Workspace.Spawns.StartingPlace
p = game.Players:GetChildren()
while true do
wait(10)
for i = 1, #p do --Where the print didn't continue
script.Parent.NumberOfPeopleInGame.Value = #p
if game.Workspace:findFirstChild(p[i].Name) then
p[i].Character.Torso.CFrame = s.CFrame * CFrame.new(math.random(-3,3),8,math.random(-3,3))
end
end
end

2 comments
What is the goal of this script?
To teleport the players to a brick and to get the number of players as a NumberValue