of     1   

manofthesnakes
#141124779Tuesday, July 22, 2014 2:30 AM GMT

I have a Terminal at my game, and I need a script that finds how many people are in a certain team, and then if it is less then a certain number, will disable a certain script. This is how you would find the script. Game.Workspace.Terminal.RaidSystemV1.Script
Xephyric
#141125005Tuesday, July 22, 2014 2:32 AM GMT

i = 0 for _,v in pairs(game.Players:GetPlayers()) do if v.TeamColor = BrickColor.new(" ") then i = i+1 end if i > amount then Workspace.Terminal.RaidSystemV1.Script.Disabled = true end
Xephyric
#141125051Tuesday, July 22, 2014 2:33 AM GMT

i = 0 for _,v in pairs(game.Players:GetPlayers()) do if v.TeamColor = BrickColor.new(" ") then i = i+1 end end --fixed if i > amount then Workspace.Terminal.RaidSystemV1.Script.Disabled = true end
blockoo
#141125141Tuesday, July 22, 2014 2:34 AM GMT

team = {} for i, v in pairs(game.Players:GetPlayers()) do if v.TeamColor == "Color" then table.insert(team, v) end end if #team < Num then YourScript.Disabled = true end
manofthesnakes
#141126187Tuesday, July 22, 2014 2:46 AM GMT

@Xeph your scrip is errored on the 3th line

    of     1