Ad
Log in to vote
0

How do you make a teleport script when round starts?

Asked by 9 months 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 9 months 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 9 months ago

here is an example

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

Answer this question