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

How do you make a teleport script when round starts?

Asked by 3 years ago

I know how to make a teleport script when a player touches something, but i want all the players to teleport when the game is about to start. Tell me if i should make a script attempt.

2 answers

Log in to vote
1
Answered by 3 years ago

This is actually quite easy to do.

for i, player in pairs (game.Players:GetPlayers()) do
    if player then
        local character = player.Character
        if character and character:FindFirstChild("HumanoidRootPart") then
            character.HumanoidRootPart.CFrame = --Spawnpoint
        end
    end
end
Ad
Log in to vote
1
Answered by 3 years ago

here is an example

0
Im talking about a in the same game Nifemiplayz 32 — 3y
0
Im talking about a in the same game Nifemiplayz 32 — 3y
0
yeah VerdommeMan 1479 — 3y
0
or u mean same place ? VerdommeMan 1479 — 3y
View all comments (3 more)
0
then just loop over the players and give them a new CFrame or position VerdommeMan 1479 — 3y
0
f OFF_S4LE 127 — 3y
0
Since this helps ill upvote Nifemiplayz 32 — 3y

Answer this question