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

local Data = game:GetService("TeleportService"):GetLocalPlayerTeleportData() in regular script?

Asked by 4 years ago

I need to put local Data = game:GetService("TeleportService"):GetLocalPlayerTeleportData() in a regular script for my webhook. Any help?

1 answer

Log in to vote
0
Answered by 4 years ago

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

Ad

Answer this question