I am trying to work on a simple lobby system, For example, You are in a menu, you click play and you go to a lobby. You wait for a timer and when the timer ends, the game teleports you to the actual game place.
The problem I am facing is the place claims it’s restricted. Despite the fact that all the places are in one experience, And the game is public, it just says it’s restricted.
Here’s a picture of what’s happening.
I tried to find answers on the DevForum, and even some scripts from the roblox developer page, but nothing would help.
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local code = TS:ReserveServer(00)
local players = Players:GetPlayers()
TS:TeleportToPrivateServer(00,code,players)
The ID is set to one of the places in the public experiences.
Anything will help!
