while true do -- LOOP wait(60) - -waits 60 secounds players = game.Players:GetChildren() -- gets all players ChosenPlayer =players[math.random(1,#players)] -- Gets a random PLayer ChosenPlayer.TeamColor = BrickColor.new("Really red")-- sets player team color to Really red end
Can somebody make it unactive unless there are 5 players in the game? and when the person switches team they die.
while wait() do --keeps waiting if game.Players.NumPlayers > 4 then --if the amount of Players is bigger than 4 --ur code here
that's the Amount of Players Needed Help...