local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")

local code = TS:ReserveServer(id)
local players = Players:GetPlayers()

function onTouched(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		TS:TeleportToPrivateServer(id, code, {game.Players:FindFirstChild(hit.Parent.Name)})
	end
end

script.Parent.Touched:Connect(onTouched)

It's supposed to teleport a group of players that touch a part to a reserved server in a place, but instead it teleports players to an ongoing server instead of a new one.

1 comment

0

Do you want to teleport in another normal or private server ???