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

How do I use TeleportSetting?

Asked by
Bertox 159
5 years ago
Edited 5 years ago

I've read in the Wiki how it works but I don't understand it, this is what I've tried:

Main Game:

TP:SetTeleportSetting("test1",script.Parent.Parent.test)
TP:Teleport(1938410195,game.Players.LocalPlayer)

test is a ScreenGui

Sub-place:

print(TP:GetTeleportSetting())

Output: Argument 1 missing or nil

1 answer

Log in to vote
1
Answered by 5 years ago

The 2nd parameter of: SetTeleportSetting must be a String, Number, Bool, Nil value or a table.

On the :GetTeleportSetting you need to set a parameter to receive the data.

print(TP:GetTeleportSetting(info)
Ad

Answer this question