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

How would i make a part that would teleport them to every round (60 secs)?

How would I do this? ive tried lots of scripts but it dosent work can anyone help me?

1 comment

0

Show us some examples of what you have tried. We can help you fix your mistakes.

1 answer

✓ Accepted answer

To teleport someone, you change the CFrame of their Torso or use the MoveTo() method on the character model itself. I'll use MoveTo().

To get ALL the players, loop through them with a for loop.

To do this forever, use a while loop.

while true do
	wait(60)
	for i,v in pairs(game.Players:GetPlayers()) do
		v.Character:MoveTo(game.Workspace.Part.Position)
	end
end

3 comments

0

Localscript or just script?

0

Server script. Shouldn't you have figured that out...?

0

Also: I made a typo It's GetPlayers(), not GetPlayer(). I fixed it now.

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