Hi,
I was trying to teleport the player but i get this weird error, when the player arrives after the teleportation:
Here is the snippet of the code:
game.ReplicatedStorage.Remotes.TeleportPlayer.OnServerEvent:Connect(function(player)
local Options = Instance.new("TeleportOptions")
Options.ServerInstanceId = game.JobId
game:GetService("TeleportService"):TeleportAsync(game.PlaceId, {player},Options)
end)
I Never had an issue like this before, is there anything I’m doing wrong?