i wanna teleport to one of my other places using the TeleportService then get teleported back to the main game, but everytime i try i keep getting into a teleport loop. here is my scripts:
local teleport = game:GetService("TeleportService")
local plr = game.Players.LocalPlayer
print('Teleporting')
teleport:Teleport(Placeholder, plr, data)
script in other game:
local tp = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
wait(3)
tp:Teleport(dataid, player, data2) -- Teleports them back
can someone please help me? this is my second time trying the teleportservice.

4 comments
make it local script
it is a local script
Yeah make it a local script, that will do the job.
but it is a local script and its still doing the same thing, the local script in the playergui btw