0% found this document useful (0 votes)
41 views1 page

Teleport Script for Game ID 126509999114328

The script waits for the game to load and checks if the current PlaceId is not equal to a specific ID. If the condition is met, it attempts to execute a teleport script from a file and then teleports the player to a designated PlaceId. The use of pcall ensures that any errors during the execution of the teleport script do not crash the game.

Uploaded by

maqeowtrap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

Teleport Script for Game ID 126509999114328

The script waits for the game to load and checks if the current PlaceId is not equal to a specific ID. If the condition is met, it attempts to execute a teleport script from a file and then teleports the player to a designated PlaceId. The use of pcall ensures that any errors during the execution of the teleport script do not crash the game.

Uploaded by

maqeowtrap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

repeat task.

wait() until game:IsLoaded()


local lplr = game:GetService("Players").LocalPlayer
if tostring([Link]) ~= "126509999114328" then
pcall(function()
queue_on_teleport("loadstring(readfile("teleport_script.txt"))()) end)

game:GetService("TeleportService"):Teleport(126509999114328)
end

You might also like