I know I can teleport 1 player at a time with this block of code:
local TeleportService=game:GetService("TeleportService")
local Place=1651711943
script.Parent.Touched:connect(function(hit)
local player=game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(Place, player)
end
end)
But how do I do it with multiple people at a time and that needs that number of people?

1 comment
Use region3 and get how many players are in that area and once it reaches your limit or whatever then teleport.