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

How do I make a teleportation script work?

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

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

1 comment

0

Do you think you can post your answer?

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