| |
|
|
| 15 Nov 2014 08:37 AM |
| Just make each player have a number value and make it add to a value inside the team and if the value inside the team equals 0 then it'll guess it's empty. But it'll take a little scripting. |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 08:50 AM |
^[Above] Wut? ------
Script:
--==Fadexistence==-- if game.Teams.TEAMNAME == nil then print 'Team not found' end |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 08:53 AM |
Here let me explain a little better, I was rushed at first. Well lets say each team has a value in it. And the value inside it increases based on the players with that teams color. And if that value of the team is 0 then it'll make the team have no players in it, Therefore the team is empty. Was that clear enough or do I need to explain even more clear? |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 09:01 AM |
| Oh I was going to say delete the team if no ones on it and player re create when triggered (Player join etc.), Although you could use the team score property to track all players on the team. |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Nov 2014 06:31 PM |
isEmpty = true for k, v in next, game.Players:GetPlayers() do if v.TeamColor == targetColor then isEmpty = false end end |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2014 06:43 PM |
a = Team:GetChildren()
for i, 1 #a do
i Is the amount of Children in a |
|
|
| Report Abuse |
|
|