TeleportToPrivateServer Issue

Hi, so i got this weird problem so i have this code right here:

local ReservedServer = TeleportService:ReserveServer(tonumber(PlaceId))
local suc, result = pcall(TeleportService.TeleportToPrivateServer, TeleportService, tonumber(PlaceId), ReservedServer,  PlayersOnTable)

and tried printing something:

	if (suc and result ~= nil) then
				print("Players Teleporting")
			else
				print("Can't TeleportPlayers")
			end

image
but still teleports the players?

prob because this is the problem?
image

this is where i got the id from, thanks and advance :slight_smile:

1 Like

Nvm guys i found the problem TeleportService | Roblox Creator Documentation it’ll return void/nothing that’s why

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.