I am trying to teleport player when the server have enough people , just like some minigame game !
local tpCF = CFrame.new(your place); local enough = 10; local Tped = false game.Players.ChildAdded:Connect(function() if #game.Players:GetChildren() >= enough then if Tped == false then Tped = true for i,p in pairs(game.Players:GetChildren()) do repeat wait() until p.Character p.Character:WaitForChild("HumanoidRootPart").CFrame = tpCF end end end end)
tpCF is the CFrame you are gonna teleport players. enough is the smallest amount of players to be teleported.