Jump to content

Scoreboard that shows top 10 people with most kills


AttePatte

Recommended Posts

on death of a zombie:
	attacker is a player:
		add 1 to {kill counter::%uuid of attacker%::kills_total}
		
on death of player:
	set {kill counter::%uuid of player%::kills_total} to 0

on join:
	while player is online:
		toggle player's scoreboard on
		set title of player's scoreboard to "&cFland&5SMP"
		set line 4 of player's scoreboard to " OnlinePlayers: &c%size of all players%"
		set line 3 of player's scoreboard to "         "
		set line 2 of player's scoreboard to " &aZombie &cKills: %{kill counter::%uuid of player%::kills_total}%"
		set line 1 of player's scoreboard to "        "
		wait 1 tick

What I would like to add is few lines that show other people's kill count

 

Edited by AttePatte
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...