Is it possible to create system like to join server which isn't full and in which game not started yet?

Is it possible to create system like to join server which isn’t full and in which game not started yet?
And should i use HttpService for it?
Now i stopped on this code:
Local Script:

local Event = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents"):WaitForChild("AddPlayerToThisServer")
local function Mouse1Click()
       Event:FireServer()
end
script.Parent.MouseButton1Click:Connect(Mouse1Click)

Server Script:

local TPS = game:GetService("TeleportService")
local RS = game:GetService("ReplicatedStorage")
local RemoteEvents = RS:WaitForChild("RemoteEvents")
local RemoteEvent = RemoteEvents:WaitForChild("AddPlayerToThisServer")
local PlaceId = 14616677870
local Players = {}
local function TeleportPlayers()
	if Players[1] ~= nil then
	local Server = TPS:ReserveServer(PlaceId)
	local TeleportOptions = Instance.new("TeleportOptions")
	TeleportOptions.ReservedServerAccessCode = Server
	TPS:TeleportAsync(PlaceId,Players,TeleportOptions)
	end
end
RemoteEvent.OnServerEvent:Connect(TeleportPlayers)

Wdym the game is not started yet? Like a round system, if so you could use Cross-Server Messaging to communicate between servers if the round is started and if it isn’t you know you can tp to that server

1 Like

Thank you,but now how i can make player not to join that sever? I already have system which adds JobId to another place’s servers, but idk how to tp player to right server.