Currently the only way I know of is to use GetLocalPlayerTeleportData, but as the name implies it is locally done, meaning any information could be spoofed as in order to pass the information, I need to fire an event Client → Server which means that information is not trustworthy.
Unless I’m missing something there is no way to verify that information so it’s as good as useless, Thanks in advance!
game.Players.PlayerAdded:Connect(function(Player)
local TeleportData = Player:GetJoinData()
if TeleportData then
print(TeleportData[1])
else
print("No Data")
end
end)
It prints nil, i tried just doing print(TeleportData) and that gave me gibberish, so I’m guessing im misunderstanding how to retrieve the information passed over.
That did the job, Though it did error “tried to index number with number” but then started to work, so… Either way this is massively helpful thank you.
game.Players.PlayerAdded:Connect(function(Player)
local TeleportData = Player:GetJoinData().TeleportData
if TeleportData then
print(TeleportData)
else
print("No Data")
end
end)