Could somebody possibly edit this script to return the number?
a = game.Players:GetChildren()
for i,v in pairs(a) do
if a.TeamColor == BrickColor.new("Really red") then
--What would I add here?
end
end
Could somebody possibly edit this script to return the number?
a = game.Players:GetChildren()
for i,v in pairs(a) do
if a.TeamColor == BrickColor.new("Really red") then
--What would I add here?
end
end
local red = 0
for i,v in pairs(game.Players:GetPlayers()) do
if a.TeamColor == BrickColor.new("Really red") then
red = red + 1
end
end
print(red)
a = game.Players:GetChildren()
t = 0
for i,v in pairs(a) do
if a.TeamColor == BrickColor.new("Really red") then
t = t+1
end
end
You copied exactly what he said, just changed the variable...
I had this before he posted his.
I checked the timing, he posted his first. You were about 4-7 mins late..
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks! Would be easier if you used the script block...