ArtzifyHD

Death MSG

Aug 6th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. #---------------------------------------------------#
  2. # #
  3. # Custom Death Messages #
  4. # #
  5. # Created by Fake / CraftageSetups #
  6. # #
  7. #---------------------------------------------------#
  8.  
  9. #---------------------------------------------------#
  10. # #
  11. # Main Options - Edit Below! #
  12. # #
  13. # prefix = &8[&bFactions&3X&8] #
  14. # main-color = &b #
  15. # secondary-color = &3 #
  16. # #
  17. #---------------------------------------------------#
  18.  
  19. options:
  20. heart: ❤
  21. prefix: &f[&5Death&f]
  22. main-color: &d
  23. secondary-color: &f
  24.  
  25.  
  26. #---------------------------------------------------#
  27. # #
  28. # Skript - Do not touch! #
  29. # #
  30. #---------------------------------------------------#
  31.  
  32. on death:
  33.  
  34. if attacker is a player:
  35. if projectile is set:
  36. set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was shot by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
  37. else:
  38. set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
  39.  
  40. if attacker is not a player:
  41. if attacker is set:
  42. set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
  43.  
  44. if damage was caused by potion:
  45. set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by magic."#
  46.  
  47. else:
  48. set the death message to "{@prefix} {@main-color}%victim% {@secondary-color}was killed by {@main-color}%attacker%{@secondary-color}! {@main-color}%attacker's health% {@heart} {@secondary-color}Left!"
Advertisement
Add Comment
Please, Sign In to add comment