local Player = script:FindFirstAncestorWhichIsA("Player")
local TeleportService = game:GetService("TeleportService")
script.Parent.MouseButton1Click:Connect(function()
local NewServer = TeleportService:ReserveServer(PlaceId)
TeleportService:TeleportToPrivateServer(PlaceId, NewServer, Player)
end)
This is the entire script, I just want to teleport the player to a reserved server, it should be simple. I replaced my game’s ID with “PlaceId”
I’ve tried putting the Player into a table: {Player}
and it still didn’t work