Teleporting to a private server

local TeleportService = game:GetService("TeleportService")
local GameId = 7122219557 -- Change to Game Id

local Part = script.Parent
local Bounce = false

Part.Touched:Connect(function(Hit)
	if Bounce == false and Hit.Parent:FindFirstChild("Humanoid") then
		local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
		if Player then
			Bounce = true
			TeleportService:Teleport(GameId,Player)
			wait(1)
			Bounce = false
		end
	end
end)

how would i alter this script to make it teleport me to a private
server? with only 1 player at a time

2 Likes

Do you mean a purchased private server or a server that the player has to themselves?

a sever that the player has to themselves

Make another game that is identical and set the player maximum as 1.

Thats not what i mean
image
this place has multiple places but when i try to teleport to “the final showdown” it puts you in a server with multiple players even thought “Super Dan 64” server limit is 1

Maybe try using TeleportService:ReserveServer() and TeleportService:TeleportToPrivateServer()