Hi,how can i create leaderboard for two teams and write just team names,but count kills for all players ,not for only ex: player1[red] ?My trigger :

-
Table
-

Events
-


Time - Elapsed game time is 0.00 seconds
-
-

Conditions
-

Actions
-


Leaderboard - Create a leaderboard for (All players) titled Team Kills
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Player 1 (Red) slot status) Equal to Is playing
-




(Player 1 (Red) controller) Equal to User
-
-



Then - Actions
-




Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 3 (Teal) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 4 (Purple) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 6 (Orange) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 6 (Orange) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 8 (Pink) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 9 (Gray) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 10 (Light Blue) to (Last created leaderboard) with label The Guards and value 0
-
-



Else - Actions
-




Leaderboard - Show (Last created leaderboard)
-
-
-
-
-
UpdateGuards
-

Events
-


Unit - A unit owned by Player 1 (Red) Dies
-


Unit - A unit owned by Player 2 (Blue) Dies
-


Unit - A unit owned by Player 3 (Teal) Dies
-


Unit - A unit owned by Player 4 (Purple) Dies
-


Unit - A unit owned by Player 5 (Yellow) Dies
-
-

Conditions
-


((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




((Dying unit) is A Hero) Equal to True
-
-



Then - Actions
-




Set TeamKills_Copy[(Player number of (Owner of (Killing unit)))] = (TeamKills_Copy[(Player number of (Owner of (Killing unit)))] + 1)
-
-



Else - Actions
-




Set TeamKills_Copy[(Player number of (Owner of (Killing unit)))] = (TeamKills_Copy[(Player number of (Owner of (Killing unit)))] + 0)
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






TeamKills_Copy[(Player number of (Owner of (Killing unit)))] Equal to 120
-
-





Then - Actions
-






Set WinPointsG = (WinPointsG + 1)
-






Game - Display to (All players) the text: ((Name of (Player in position 2 of (Last created leaderboard))) + has been collected 120 kills and gets 1 victory point.)
-
-





Else - Actions
-






Leaderboard - Show (Last created leaderboard)
-
-
-
-
-
-
-
UpdateDestroyers
-

Events
-


Unit - A unit owned by Player 6 (Orange) Dies
-


Unit - A unit owned by Player 7 (Green) Dies
-


Unit - A unit owned by Player 8 (Pink) Dies
-


Unit - A unit owned by Player 9 (Gray) Dies
-


Unit - A unit owned by Player 10 (Light Blue) Dies
-
-

Conditions
-


((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




((Dying unit) is A Hero) Equal to True
-
-



Then - Actions
-




Set TeamKills[(Player number of (Owner of (Killing unit)))] = (TeamKills[(Player number of (Owner of (Killing unit)))] + 1)
-
-



Else - Actions
-




Set TeamKills[(Player number of (Owner of (Killing unit)))] = (TeamKills[(Player number of (Owner of (Killing unit)))] + 0)
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






TeamKills[(Player number of (Owner of (Killing unit)))] Equal to 120
-
-





Then - Actions
-






Set WinPoints = (WinPoints + 1)
-






Game - Display to (All players) the text: ((Name of (Player in position 1 of (Last created leaderboard))) + has been collected 120 kills and gets 1 victory point.)
-
-





Else - Actions
-






Leaderboard - Show (Last created leaderboard)
-
-
-
-
-
-


