Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm getting error "HTTP 0 (HTTP 403) when I use ReserveServer. How can I fix it?

Asked by 4 years ago

Scripts:

[Client]

local part = game.Workspace:WaitForChild("ServerTouch")

part.Touched:Connect(function(hit)
    game.ReplicatedStorage:WaitForChild("TeleportRemote"):FireServer()
end)

[Server]

game.ReplicatedStorage:WaitForChild("TeleportRemote").OnServerEvent:Connect(function(plr)
    print("#@4")
    local part = game.Workspace:WaitForChild("ServerTouch")
    local char = plr.Character or plr.ChildAdded:Wait()
    local teleportService = game:GetService("TeleportService")

    local reservation = teleportService:ReserveServer(3641236167)

    teleportService:TeleportToPrivateServer(3641236167,reservation,{plr})
end)

How can I fix that?

0
Make sure that you have access to that server, or every player in-game has access to that server. DeceptiveCaster 3761 — 4y
0
I added the place to my game and now I have error "HTTP 0 (HTTP 400) darieus887 -3 — 4y
0
make sure you are not in studio guywithapoo 81 — 4y
0
now I am getting error "HTTP 0 (HTTP 403 (HTTP 403 (Forbidden)))" darieus887 -3 — 4y

Answer this question