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 a teleport all script?

How would I make a script that places everyone somewhere in my game every 3 minutes or so?

1 answer

✓ Accepted answer

Well, you'd need to have some knowledge of various loops to complete this task.

target = CFrame.new(0, 50, 0) -- Location you'd like it.

while true do
for i, player in ipairs(game.Players:GetChildren()) do
	player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)
	--add an offset of 5 for each character
	wait(180)
	end
end

~ If I helped you out, help me out by accepting my answer/bumping up my reputation!

5 comments

0

Sorry, I meant somewere in MY game. :/

0

Ah... Try to specify it next time. Let me fix that up.

0

Fixed it up.

0

Aye, thank mate.

0

No problem. Glad I helped you out.

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