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

How do I make a teleportation script work?

Asked by 5 years ago

I want to make a teleportation script but the problem is it teleports me to the first part successfully, but then when I have it set to teleport to the next part after the game is over it just teleports me over then first part and I fall back down.

Here is the script:

wait(41)

function tp()

local players = game.Players:GetPlayers()

for i = 1,#players do

players[i].Character.HumanoidRootPart.CFrame = game.Workspace.Part.CFrame + Vector3.new(3.87, 0.5, 22.92)

end end

do

tp()

wait(180)

local players = game.Players:GetPlayers()

for i = 1,#players do

players[i].Character.HumanoidRootPart.CFrame = game.Workspace.Part2.CFrame + Vector3.new(-113.222, 26.001, -100.483)

end end

1 answer

Log in to vote
0
Answered by 5 years ago

I have figured it out through their discord! QUESTION CLOSED.

0
Do you think you can post your answer? Tweakified 117 — 5y
Ad

Answer this question