Advertisement
hiturys

eeee

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