Advertisement
Guest User

Killscript

a guest
Mar 24th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. # KillRewards scripted by Juhoty
  2. #
  3. #
  4. #
  5. #
  6. #
  7. #
  8. #
  9. #
  10. # Start script.
  11. on death:
  12. attacker is a player
  13. if victim is a zombie:
  14. add 15 to the attacker's account
  15. message "<dark gray>You killed a zombie <lime>+15$" to the attacker
  16. else:
  17. if victim is a zombie pigman:
  18. add 25 to the attacker's account
  19. message "<dark gray>You killed a zombie pigman <lime>+25$" to the attacker
  20. else:
  21. if victim is a skeleton:
  22. add 20 to the attacker's account
  23. message "<dark gray>You killed a skeleton <lime>+20$" to the attacker
  24. else:
  25. if victim is a wither skeleton:
  26. add 30 to the attacker's account
  27. message "<dark gray>You killed a wither skeleton <lime>+30$" to the attacker
  28. else:
  29. if victim is a skeleton:
  30. add 20 to the attacker's account
  31. message "<dark gray>You killed a skeleton <lime>+20$" to the attacker
  32. else:
  33. if victim is a cave spider:
  34. add 15 to the attacker's account
  35. message "<dark gray>You killed a cave spider <lime>+15$" to the attacker
  36. else:
  37. if victim is a enderman:
  38. add 30 to the attacker's account
  39. message "<dark gray>You killed an enderman <lime>+30$" to the attacker
  40. else:
  41. if victim is a spider:
  42. add 15 to the attacker's account
  43. message "<dark gray>You killed a spider <lime>+15$" to the attacker
  44. else:
  45. if victim is a blaze:
  46. add 25 to the attacker's account
  47. message "<dark gray>You killed a blaze <lime>+25$" to the attacker
  48. else:
  49. if victim is a creeper:
  50. add 20 to the attacker's account
  51. message "<dark gray>You killed a creeper <lime>+20$" to the attacker
  52. else:
  53. if victim is a endermite:
  54. add 5 to the attacker's account
  55. message "<dark gray>You killed a endermite <lime>+5$" to the attacker
  56. else:
  57. if victim is a ghast:
  58. add 20 to the attacker's account
  59. message "<dark gray>You killed a ghast <lime>+20$" to the attacker
  60. else:
  61. if victim is a magma cube:
  62. add 15 to the attacker's account
  63. message "<dark gray>You killed a magma cube <lime>+15$" to the attacker
  64. else:
  65. if victim is a shulker:
  66. add 35 to the attacker's account
  67. message "<dark gray>You killed a shulker <lime>+35$" to the attacker
  68. else:
  69. if victim is a silverfish:
  70. add 5 to the attacker's account
  71. message "<dark gray>You killed a silverfish <lime>+5$" to the attacker
  72. else:
  73. if victim is a witch:
  74. add 25 to the attacker's account
  75. message "<dark gray>You killed a witch <lime>+25$" to the attacker
  76. else:
  77. if victim is a ender dragon or wither:
  78. add 2260 to the attacker's account
  79. message "<dark yellow>You killed the %victim%! <lime>+15$" to the attacker
  80. #
  81. #
  82. #
  83. # End script.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement