Guest User

Untitled

a guest
Jan 14th, 2020
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. every 5 seconds:
  2. loop all players:
  3. wipe loop-player's sidebar
  4. set name of sidebar of loop-player to "&6&lFolke&e&lSkolen"
  5. set score "&6&lDine Kills:&7 %{Kills.%loop-player%}%" to 14 of loop-player
  6. set score "&6&lDine Deaths:&7 %{Deaths.%loop-player%}%" to 13 of loop-player
  7. set score "&6&lDine Penge:&7 %loop-player's balance%" to 12 of loop-player
  8. set score "&6&lDin Killstreak:&7 %{Killstreak.%loop-player%}%" to 12 of loop-player
  9.  
  10. on death:
  11. if attacker is a player:
  12. if victim is a player:
  13. add 1 to {Kills.%attacker%}
  14. add 1 to {KillStreak.%attacker%}
  15. add 1 to {Deaths.%victim%}
  16.  
  17. on death:
  18. set {KillStreak.%player%} to 0
  19.  
  20. on join:
  21. if {Kills.%player%} isn't set:
  22. set {Kills.%player%} to 0
  23. if {Deaths.%player%} isn't set:
  24. set {Deaths.%player%} to 0
  25. stop
  26.  
  27. command /stats [<offline player>]:
  28. trigger:
  29. if arg-1 is not set:
  30. send "&6&l&m------------------------------"
  31. send "&7"
  32. send "&6&lDine Kills:&7 %{Kills.%player%}%"
  33. send "&6&lDine Deaths:&7 %{Deaths.%player%}%"
  34. send "&6&lDin Killsreak:&7 %{KillStreak.%player%}%"
  35. send "&7"
  36. send "&6&l&m------------------------------"
  37. else:
  38. send "&6&l&m------------------------------"
  39. send "&7"
  40. send "&6&lDine Kills:&7 %{Kills.%arg-1%}%"
  41. send "&6&lDine Deaths:&7 %{Deaths.%arg-1%}%"
  42. send "&6&lDin Killsreak:&7 %{KillStreak.%arg-1%}%"
  43. send "&7"
  44. send "&6&l&m------------------------------"
RAW Paste Data