HTTP 403 (Forbidden)

Can someone help me with this problem, I am making a camping game and I am teleporting the players to a place. Sorry for using translator


I want all the players to enter a place
image
CODE

local function teleportPlayers()
	if #list > 0 then
		script.Parent.GuiPart.SurfaceGui.Frame.Status.Text = "TELEPORTING"
		script.Parent.GuiPart.SurfaceGui.Frame.Status.TextColor3 = Color3.new(1,0,0)
		local playersToTeleport = {}
		local teleportTime = 0
		for i=1,#list do
			if game.Players:findFirstChild(list[i]) then
				table.insert(playersToTeleport,game.Players:findFirstChild(list[i]))
				TransitionEvent:FireClient(game.Players:findFirstChild(list[i]))
			else
				table.remove(list,i)	
			end
		end 
		local code = TS:ReserveServer(placeId)
		teleporting = true
		TS:TeleportToPrivateServer(placeId,code,playersToTeleport) --- error
		
		repeat wait() until #list <= 0
		script.Parent.GuiPart.SurfaceGui.Frame.Status.Text = "READY"
		script.Parent.GuiPart.SurfaceGui.Frame.Status.TextColor3 = Color3.new(34/255,255/255,20/255)
		teleporting = false
	end
end
1 Like

Unable to see line. Also, is that correct script that caused error?

Turn on third-party teleport also.


everything was already enabled

You get the http 403 error when you try to access a something but do not have permission. I don’t really know what to say.
One thing is this has to be a server script

Code missing where Determining TS to teleport service.

Maybe needs to turn on third-party teleport for other side.

image

oh I tried it in a published game and it appears to me that the place is restricted, I already made the place public, but it still doesn’t work @AceBookMarker @Lit_skillzYT

1 Like

https://www.roblox.com/games/9944939263/
Um… confused between game and place?
Simply forgor to turn on private server?

don’t worry i solved the problem thank you for your help @Lit_skillzYT @AceBookMarker

1 Like