Hello, I made a script to teleport player to another place, but I need to send data from the original server
My place where I want to teleport script:
local Teleport = game:GetService('TeleportService') Teleport.LocalPlayerArrivedFromTeleport:Connect(function(loadingGui, DataTable) print(unpack(unpack(DataTable))) end)
My teleport script:
local Teleport = game:GetService('TeleportService') local PrivateServer = Teleport:ReserveServer(id) Teleport:TeleportToPrivateServer(id, PrivateServer, PlayerTable, "SpawnLocation", ServInfo, game.ReplicatedStorage.TpGui)
And I want the "ServInfo" table to be received from the other place, but it's not working.. Anyone know how to fix this?
Hey msdarckdu802,
This might help solve your issue. It's a function that collects the data a player is sent with.