teams.lua
public lua v1 · immutable//This will create the teams.//team: (number, name, Color (r, g, b, a))team.SetUp (1, "Red", Color (255, 0, 0, 255))team.SetUp (2, "Blue", Color (0, 0, 255, 255))function FirstSpawn(ply) if table.Count(TeamPlayers1) == 0 then player.SetTeam( "Red" ) endend