Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sign change:
- player is op
- if line 1 of block is "[Leader]":
- add block to {kills.signs.*}
- set {_skull} to skull of {topkiller}
- set the block above the block to {_skull}'s skull
- set line 1 of block to "&4&lTop Player"
- set line 2 of block to "&c%{topkiller}%"
- set line 3 of block to "&7"
- set line 4 of block to "&f%{topkills}%"
- every 1 second:
- loop {kills.signs.*}:
- set line 2 of loop-value to "&a%{topkiller}%"
- set line 3 of loop-value to "&cKills: &f%{topkills}%"
- set block above loop-value to {topkiller}'s skull
- on death of player:
- attacker is a player
- if {kills.%attacker%} isn't set:
- set {kills.%attacker%} to 0
- else:
- add 0 to {kills.%attacker%}
- {topkiller} isn't set:
- set {topkiller} to attacker
- set {topkills} to {kills.%attacker%}
- {kills.%attacker%} is greater than {topkills}:
- set {topkiller} to attacker
- set {topkills} to {kills.%attacker%}
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement