ArtzifyHD

Death Skript

Jul 13th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. options:
  2. ASCII-Symbol-Heart: ♥
  3.  
  4. #Variables
  5. # %victim% = Username of the victim
  6. # %attacker% = Username of the attacker
  7. # %attacker's health% = Attackers health
  8. # {@ASCII-Symbol-Heart} = ASCII Code of heart
  9.  
  10. on death of player:
  11. #Projectiles
  12. if attacker is a player:
  13. if projectile is set:
  14. set the death message to "&a%victim% &7was shot by &c%attacker%&7! &8[&c%attacker's health%{@ASCII-Symbol-Heart}&8]"
  15.  
  16. #Mob
  17. if attacker is not a player:
  18. if attacker is set:
  19. set the death message to "&a%victim% &7was killed by &c%attacker%&7! &8[&c%attacker's health%{@ASCII-Symbol-Heart}&8]"
  20.  
  21. #Magic
  22. if damage was caused by potion:
  23. set the death message to "&a%victim% &7was killed by magic."
Advertisement
Add Comment
Please, Sign In to add comment