Advertisement
hiturys

eeeee

Aug 24th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1.  
  2. every minute:
  3. loop all players:
  4. add 1 to {Playtime::%loop-player%}
  5.  
  6.  
  7.  
  8.  
  9.  
  10. variables:
  11. {kill counter.%player%.kills_session} = 0
  12. {kill counter.%player%.kills_session_max} = 0
  13. {kill counter.%player%.kills_total} = 0
  14. {kill counter.%player%.deaths_total} = 0
  15. {kill counter.%player%.kdr_total} = 0
  16. {versionno} = 1.1
  17.  
  18. on death:
  19. add 6 to the attacker's account
  20. message "&aYou killed &e%player% &aand earned &2$6.00" to the attacker
  21. attacker is a player
  22. add 1 to {kill counter.%attacker%.kills_total}
  23. add 1 to {kill counter.%attacker%.kills_session}
  24. set {kill counter.%player%.kdr_total} to {kill counter.%player%.kills_total} / {kill counter.%player%.deaths_total}
  25. apply regeneration 5 to attacker for 3 seconds
  26. {kill counter.%attacker%.kills_session} is greater than {kill counter.%attacker%.kills_session_max}:
  27. set {kill counter.%attacker%.kills_session_max} to {kill counter.%attacker%.kills_session}
  28.  
  29. on death of player:
  30. set {kill counter.%player%.kills_session} to 0
  31. add 1 to {kill counter.%player%.deaths_total}
  32. set {kill counter.%player%.kdr_total} to {kill counter.%player%.kills_total} / {kill counter.%player%.deaths_total}
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. options:
  40. # Scoreboard
  41. Title: &a&l<&b&lJaponja&a&l>
  42.  
  43.  
  44.  
  45. # The lines, you can use %{rank.%loop-player%}% for the users group, %balance of loop-player% for their balance, and %player% for their name.
  46. Line3: &aUsername: &b%loop-player%
  47. Line4: &f
  48. Line5: &aPlaytime: &b%{Playtime::%loop-player%}% minutes
  49. Line6: &f
  50. Line7: &aDeaths: &b{kill counter.%loop-player%.deaths_total}
  51. Line8: &f
  52. Line9: &aKills: &b{kill counter.%loop-player%.kills_total}
  53. Line10: &f
  54. Line11: &aKDR: &b{kill counter.%player%.kdr_total}
  55. Line12: &f
  56. Line13: &aOwner: &bJa_Po
  57. Line1: &f
  58. Line2: &a&lJaponja.minehut.gg
  59.  
  60. #ScoreBoard (You can add lines)
  61. every second:
  62. loop all players:
  63. wipe loop-player's sidebar
  64. set name of sidebar of loop-player to "{@Title}"
  65. set score "{@Line3}" in sidebar of loop-player to 9
  66. set score "{@Line4}" in sidebar of loop-player to 8
  67. set score "{@Line5}" in sidebar of loop-player to 7
  68. set score "{@Line6}" in sidebar of loop-player to 6
  69. set score "{@Line7}" in sidebar of loop-player to 5
  70. set score "{@Line8}" in sidebar of loop-player to 4
  71. set score "{@Line9}" in sidebar of loop-player to 3
  72. set score "{@Line10}" in sidebar of loop-player to 2
  73. set score "{@Line11}" in sidebar of loop-player to 1
  74. set score "{@Line12}" in sidebar of loop-player to 0
  75. set score "{@Line13}" in sidebar of loop-player to -1
  76. set score "{@Line1}" in sidebar of loop-player to -2
  77. set score "{@Line2}" in sidebar of loop-player to -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement