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

[SOLVED] Lobby Queue System Doesn't Teleport Players To Private Server?

Asked by 2 years ago
Edited 2 years ago

I got the script from a youtube video and just edited some stuff i guess

https://www.youtube.com/watch?v=bxCKWMiV8CA

so this script is supposed to act like a casual story game lobby system, there's a timer and every time the timer ticks to 0, the players in the queue will get a loading screen and get teleported, and a GUI button appears to leave the queue, all of the script is working except the actual part that teleports the player to a private server of the placed. instead it gives me this error HTTP 403 (Forbidden) at line 39

sorry if this isn't described well

Server Sided Script

01local TS = game:GetService("TeleportService")
02local TweenService = game:GetService("TweenService")
03local placeId = 12804178720 -- Enter a second Id Place.
04local leaveGuiEvent = game.ReplicatedStorage:FindFirstChild('LeaveGuiEvent')
05local TransitionEvent = game.ReplicatedStorage:FindFirstChild('TransitionEvent')
06local list = {}
07local billboard = script.Parent.billboardPart.billboardGui
08local timer = nil
09local teleporting = false
10local spawnTeleport = script.Parent.spawn
11 
12local function updateGui()
13    billboard.Frame.players.Text = "Players: " ..#list.. "/1" -- Change the number 16 according to the Max Player who want to be teleported.
14end
15 
View all 98 lines...
1
Did you try this in Studio? Did you check the output? T3_MasterGamer 2189 — 2y
0
i tried in both studio and roblox client. i havent checked yet, ill update you on the results JmoneyPlayzOfficial 49 — 2y
0
i got this error HTTP 403 (Forbidden) located at line 39 JmoneyPlayzOfficial 49 — 2y
1
No, like I meant that if you playtested or played in Roblox App, I didn't meant that you should try both. T3_MasterGamer 2189 — 2y
View all comments (3 more)
0
I'm asking that becuase TeleportService won't work in playtest Roblox Studio. T3_MasterGamer 2189 — 2y
0
well i did but i done some changes so i'll see how that goes JmoneyPlayzOfficial 49 — 2y
0
i tried it and it worked, thank you JmoneyPlayzOfficial 49 — 2y

Answer this question