moeycvbn12

Untitled

Dec 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #Variables
  2. # %victim% = Username of the victim
  3. # %attacker% = Username of the attacker
  4.  
  5. on death of player:
  6. #Projectiles
  7. if attacker is a player:
  8. if projectile is set:
  9. set the death message to "&c%attacker% &7murders &c%victim%"
  10.  
  11. #Mob
  12. if attacker is not a player:
  13. if attacker is set:
  14. set the death message to "&c%attacker% &eslays &c%victim%"
  15.  
  16. #Magic
  17. if damage was caused by potion:
  18. set the death message to "&c%victim% &edied."
  19.  
  20. #Player
  21. if attacker is a player:
  22. if attacker is set:
  23. set the death message to "&c%attacker% &ekills &c%victim% &eusing a &cDiamond Sword"
Advertisement
Add Comment
Please, Sign In to add comment