You're probably referring to a leaderboard.
You need to create a leaderboard and assign it to a variable. Add any players in the game to it.
Then make a trigger that happens whenever something that counts as a "kill" dies. Increase the value assigned to the player that owns the killing unit, and, if you want, sort the leaderboard.