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

I need the players to be teleported to the map when the match starts. How would I do that?

I tried naming blocks "target" and putting them inside the map, but it isn't working.

1 answer

✓ Accepted answer
Wait (30)--match time
target = CFrame.new(0, 50, 0) --could be near a brick or in a new area
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
end

NOTE: You can use any kind of functions I just typed an easy one.

5 comments

0

If my answer is satisfactory please give me 1 point it will give us both points.

0

How do I find the coords though?

0

Insert any part where you want the players to teleport, then click proerties and check "Position" in the properties of the brick that´s your cords.

0

Okay, thanks :D

0

Wait, how do you make it so there would be 4 targets, and 1 player to each?

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