Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make this teleport everyone to the desired destination?

p[i]:MoveTo(Vector3.new(75.4, 326.9, -469.7))

How do I fix this so that it will teleport everyone in the server to that location; not just 1 person.

1 answer

✓ Accepted answer

Use a for do function.

for i,v in pairs(game.Players:GetPlayers()) do
	v:MoveTo(Vector3.new(75.4, 326.9, -469.7))
end

You can also do this with a brick;

for i,v in pairs(game.Players:GetPlayers()) do
	v:MoveTo(game.Workspace.Part.Position)
end

1 comment

0

Thank you! :D

This discussion is preserved as it was. New answers, comments, and votes are closed.