Advertisement
LukaMC59

Untitled

Nov 14th, 2017
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. on sign change:
  2. player is op
  3. if line 1 of block is "[Leader]":
  4. add block to {kills.signs::*}
  5. set {_skull} to skull of {topkiller}
  6. set the block above the block to {_skull}'s skull
  7. set line 1 of block to "&4&lTop Player"
  8. set line 2 of block to "&c%{topkiller}%"
  9. set line 3 of block to "&7"
  10. set line 4 of block to "&f%{topkills}%"
  11.  
  12. every 1 second:
  13. loop {kills.signs::*}:
  14. set line 2 of loop-value to "&a%{topkiller}%"
  15. set line 3 of loop-value to "&cKills: &f%{topkills}%"
  16. set block above loop-value to {topkiller}'s skull
  17.  
  18. on death of player:
  19. attacker is a player
  20. if {kills.%attacker%} isn't set:
  21. set {kills.%attacker%} to 0
  22. else:
  23. add 0 to {kills.%attacker%}
  24. {topkiller} isn't set:
  25. set {topkiller} to attacker
  26. set {topkills} to {kills.%attacker%}
  27. {kills.%attacker%} is greater than {topkills}:
  28. set {topkiller} to attacker
  29. set {topkills} to {kills.%attacker%}
  30. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement