HTTP 403 (Forbidden) when tel-porting

    local TS = game:GetService("TeleportService")

function join(plr)
local code = TS:ReserveServer(game.PlaceId)
local players = Players:GetPlayers() 

TS:TeleportToPrivateServer(game.PlaceId,code,{plr})
end

game.Players.PlayerAdded:Connect(join)

Need Help Solving this problem

Teleporting to the same place just in a PrivateServer

Oh sorry I wasn’t paying attention to the script. (But maybe try including the place id?)

local TS = game:GetService("TeleportService")
local PlaceId = "286090429" -- Your place id

function join(plr)
local code = TS:ReserveServer(PlaceId)
local players = Players:GetPlayers() 

TS:TeleportToPrivateServer(PlaceId,code,{plr})
end

game.Players.PlayerAdded:Connect(join)

Ensure that the following in enabled in game settings under security in the game.

Either that or its a Roblox error.

Then it is most likely a Roblox sever error.

was thinking that to but still needed it fixed

Source: TeleportService

1 Like

Still doesn’t work when test in roblox non studios

TBA just started work out of no ware may have to make more of these to get it to work :slight_smile: idk