I just made a lobby and a extra place in the asset manager. I made a script where it should teleport me to like a specific level. here is the issue in roblox studio i get a HTTP 403(Forbidden) error and in roblox self a Teleport Failed “Attempted to teleport to a place that is restricted errord code 773”
I already made my game public and allowed http and 3th party teleports
I use 3 things a script in a textbutton which is
local Play = script.Parent.FrameBase.Play
local TeleportEvent = game.ReplicatedStorage.TeleportEvent
Play.MouseButton1Up:Connect(function()
TeleportEvent:FireServer()
end)
i also use a remote event in the ReplicatedStorage and a script in the ServerScriptService which is
local TeleportEvent = game.ReplicatedStorage.TeleportEvent
local TPS = game:GetService("TeleportService")
TeleportEvent.OnServerEvent:Connect(function(plr)
local Players = {}
table.insert(Players, plr)
local PrivateServerCode = TPS:ReserveServer(15973314021)
TPS:TeleportToPrivateServer(15973314021, PrivateServerCode, Players)
table.clear(Players)
end)