I need to put local Data = game:GetService("TeleportService"):GetLocalPlayerTeleportData() in a regular script for my webhook. Any help?
✓ ANSWER ACCEPTED
local Data = game:GetService("TeleportService"):GetLocalPlayerTeleportData() in regular script?
1 answer
✓ Accepted answer
The method is obviously limited just to the client, it’s in the name really GetLocalPlayerTeleportData. You can’t use the method on the server, but what you can do is use remotes to pass the data to the server and have the server do whatever it needs to. Read up on remotes on the wiki: https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events
This discussion is preserved as it was. New answers, comments, and votes are closed.
