How can I teleport a player to a server then back the original server again?

Hello everyone, I have a simple question to ask.

So lets say you teleport a player to another server- is there a way to retain that original server’s information so that I can teleport back to the same original server from where I came from?

Thank you.

When teleporting players you can include the original server’s jobId in the teleportData parameter and use GetLocalPlayerTeleportData

1 Like

(Note that the teleportData isn’t secure, but that’s probably fine.)

You can also use datastores as a secure alternative, but they’re slower and have some gotchas as far as waiting for them to update and making sure they have the most up-to-date teleport target in them.

1 Like