So yesterday I made a post about having trouble teleporting data not working (Teleporting Data With TeleportToPrivateServer not working?) but now I need help receiving the data. Here’s the script
-- LocalScript in StarterPlayerScripts
local TeleportService = game:GetService("TeleportService")
local player = game.Players.LocalPlayer
local teleportData = TeleportService:GetLocalPlayerTeleportData()
if teleportData then
if teleportData.ReservedServerCode then
print(teleportData.ReservedServerCode)
else
print("Teleport data found, no code.")
end
else
print("No teleport data found!")
end
When I teleport to the Reserved Server, it prints “No teleport data found!”