I have a lobby for my game, however usually it tends to split up into tiny multiple lobbies. Here im trying to funnel all the extra lobbies, into one massive lobby. But it will always say its restricted even though its a public server. Any help would be appreciated.
Code:
local Data = data.Data
if game.PrivateServerId ~= "" then return end
if ThisServerSendaMsg == true then return end
if game.JobId == Data.serverId then return end
local Queue = {}
for i,v in pairs(game.Players:GetChildren()) do
table.insert(Queue,v)
end
local teleportOptions = Instance.new("TeleportOptions")
teleportOptions.ServerInstanceId = Data.serverId
TeleportService:TeleportAsync(GameID, Queue,teleportOptions)