Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can some edit this for me?

Asked by 10 years ago
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

Log in to vote
0
Answered by
KAAK82 16
10 years ago
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...

0
Ok thanks I'll try it.But I have another thing like this I need you to edit if you don't mind. DerpTrollark 20 — 10y
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... KAAK82 16 — 10y
0
PM me cos I dont see Notifications for Comments on someone else stuff for some reason... KAAK82 16 — 10y
Ad

Answer this question