Hi developers, today I have a bug in my roblox game. I have used the ReserveServer and I am trying to teleport players to a place. But I do not understand why this error happens, I have investigated but I still can not solve it. I would appreciate your help.
By the way, I have already tried to publish the place

Script:
local function teleportPlayers()
if #PlayerList > 0 then
BillBoard.Frame.Status.Text = "TELEPORTING"
BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
local playersToTeleport = {}
local teleportTime = 0
for i=1,#PlayerList do
if game.Players:findFirstChild(PlayerList[i]) then
table.insert(playersToTeleport,game.Players:findFirstChild(PlayerList[i]))
TransitionEvent:FireClient(game.Players:findFirstChild(PlayerList[i]))
else
table.remove(PlayerList,i)
end
end
task.wait()
local code = TeleportService:ReserveServer(place)
task.wait()
TeleportService:TeleportToPrivateServer(place,code,playersToTeleport)
Teleporting = true
repeat wait() until #PlayerList <= 0
BillBoard.Frame.Status.Text = "READY"
BillBoard.Frame.Status.TextColor3 = Color3.fromRGB(255, 0, 0)
Teleporting = false
end
end