TeleportService - Not Teleporting To Correct Place

I’m attempting to teleport the player(s) to another place instance within the game, but it seems to always bring the player to the starting place, no matter which place ID I put in.

I’m not sure why this happens.

Code
local TeleportService = game:GetService("TeleportService")

function m:LoadIntoGame(Players)
	
	TeleportService:SetTeleportGui(script.LoadingGui)
	
	local TeleportData = {}
	
	
	for _,Player in pairs(Players) do
		local Character = Player.Character or Player.CharacterAdded:Wait()
		TeleportData[Player.Name] = {}
		TeleportData[Player.Name].Tags = {}
		TeleportData[Player.Name].Color = Character.Head.Color
		if Player:FindFirstChild("Tags") then
			for _,Tag in pairs(Player.Tags:GetChildren()) do
				if Tag:IsA("ValueBase") then
					TeleportData[Player.Name].Tags[Tag.Name] = Tag.Value
				end
			end
		end
	end
	local Server = TeleportService:ReserveServer(5606160774)
	
	TeleportService:TeleportToPrivateServer(5606160774, Server, Players, nil, TeleportData, script.LoadingGui)
end

The ID given in the code above is the place id of Whodunnit? Official's Place Number: 3 (Copied directly from the game explorer.)
image

1 Like

I think the issue is the PrivateServer bit. Try reviewing the PrivateServer section.

It’s the nil. Make it an empty string
The Teleport to Private Server accept an optional string Paramter for Spawn name. Just set it as an empty string.