can someone tell me how to teleport from the current place then teleport back without going into a tp loop? here are the scripts in my 2 games:

script in game 1:

local teleport = game:GetService("TeleportService")
local plr = game.Players.LocalPlayer

print('Teleporting')
teleport:Teleport(4928155395, plr)

script in game 2:

local tp = game:GetService("TeleportService")
local player = game.Players.LocalPlayer

wait(5)
tp:Teleport(dataid, player) -- Teleports them back

this is my second time using the teleportservice so i dont know much about it, they are both also local scripts