Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can some edit this for me?

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.

1 answer

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...

3 comments

0

Ok thanks I'll try it.But I have another thing like this I need you to edit if you don't mind.

0

I can Edit Tommoro... but right no it's over 12:00 O'Clock here... so I dunno about right no... but tommoro, definetely ill be able... bt, sry, I cant type... u kno the letter I cant type...

0

PM me cos I dont see Notifications for Comments on someone else stuff for some reason...

This discussion is preserved as it was. New answers, comments, and votes are closed.