Teleporting Players To Place!

Scenario :

I have 1 lobby and 1 place.

In the lobby, there are 3 teleporting machines that players can walk into. Each machine has a max limit of players that can enter. Once that limit has reached a function is executed…

What I need help accomplishing :

Using TeleportService I want to teleport the group of players to a (separate reserved copy) of the (place) I mentioned above. ← This will have to work with all 3 machines.

This is similar to what you see here:

local TeleportService = game:GetService("TeleportService")
local placeId = 32432424

--- TeleportPlayers() will be called when max players are inside of the machine
--- PlayerList is an array of players within that specific machine

local function TeleportPlayers (playerList) 

end


Any suggestions or ideas are much-appreciated thank you a lot ! :blush:

You can look at this article for some help on reserved servers!!

https://developer.roblox.com/en-us/api-reference/function/TeleportService/ReserveServer