Trouble Receiving TeleportData

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!”

It says here you have to put the info in a table and then put the table into the actual teleports in order to be able to grab it in the reservedserver.

He’s right, you need to get the placeId, the jobId (idk what that is), place it after the teleportData’s after statement.

alright, i will try that. thanks.

it didn’t work. i think i did it wrong, but idk. im kinda new to scripting as well.