Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 10 years ago

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

1 answer

Log in to vote
1
Answered by 10 years ago
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.

0
If my answer is satisfactory please give me 1 point it will give us both points. biocommand 30 — 10y
0
How do I find the coords though? zachhg03 35 — 10y
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. biocommand 30 — 10y
0
Okay, thanks :D zachhg03 35 — 10y
0
Wait, how do you make it so there would be 4 targets, and 1 player to each? zachhg03 35 — 10y
Ad

Answer this question