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 it so all players get teleported to a certain area?

Hi, im currently making a game where Players will need to get teleported at the same time to a certain area after a great amount of time. please help :D

1 answer

✓ Accepted answer

This is not a request site but sense this question is so general and basic ill answer it.

wait(1)
local p = game.Players:GetChildren()
for i = 1, #p do
p[i].Character:MoveTo(Vector3.new(5, 12.8, 6)) --Edit teleport location here
end

Hope this helps, I changed it to moveto, Thanks firebolt

5 comments

0

Shouldn't you use moveto?

0

Both ways work.

0

K... I always use MoveTo because when I use torso I always die, but then other people use it and it works.

0

ok i changed it to moveto, and it is safer.

0

@firebolt, what you're probably doing is changing the position property of the torso when the CFrame property should be changed. Also, MoveTo will stack models on top of one another.

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