NoHacksJustACow

#Damage

Jan 30th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1.  
  2. options:
  3. heart: ♥
  4. ver: 1.0
  5.  
  6. on death of player:
  7. if attacker is a player:
  8. if projectile is set:
  9. if victim is player:
  10. set the death message to "&c%victim% &7was shot by &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  11. stop
  12.  
  13. if attacker is not a player:
  14. if attacker is set:
  15. if victim is player:
  16. set the death message to "&c%victim% &7was killed by a &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  17. stop
  18.  
  19. if attacker is a player:
  20. if attacker is set:
  21. if victim is player:
  22. set the death message to "&c%victim% &7was beaten to death by &c%attacker%&7 &8[&c%attacker's health%{@heart}&8]&7!"
  23. stop
  24.  
  25. if damage was caused by potion:
  26. if victim is player:
  27. set the death message to "&c%victim% &7was killed by &e&k--&7magic&e&k--&7."
  28. stop
  29.  
  30. if damage was caused by fall:
  31. if victim is player:
  32. set the death message to "&c%victim% &7tried the leap of faith."
  33. stop
  34.  
  35. if damage was caused by lava:
  36. if victim is player:
  37. set the death message to "&c%victim% &7thought swimming in lava was a good idea."
  38. stop
  39.  
  40. if damage was caused by burning:
  41. if victim is player:
  42. set the death message to "&c%victim% &7just got Roasted."
  43. stop
  44.  
  45. if damage was caused by drown:
  46. if victim is player:
  47. set the death message to "&c%victim% &7never learned how to swim."
  48. stop
  49.  
  50. if damage was caused by starvation:
  51. if victim is player:
  52. set the death message to "&c%victim% &7was starved to death."
  53. stop
  54.  
  55. if damage was caused by lightning:
  56. if victim is player:
  57. set the death message to "&c%victim% &7was struck by lightning."
  58. stop
  59.  
  60. if damage was caused by block explosion:
  61. if victim is player:
  62. set the death message to "&c%victim% &7was blown to bits."
  63. stop
  64.  
  65. on hunger meter change:
  66. cancel event
Add Comment
Please, Sign In to add comment