kjfalkeiae

HP

Nov 12th, 2018
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. on death:
  2. if name of victim is set:
  3. if name of attacker is set:
  4. if name of attacker's tool is not set:
  5. broadcast "&7[&6Death&7]&b%name of victim%(%victim%)は%name of attacker%に%attacker's tool%で殺された。"
  6. stop
  7. broadcast "&7[&6Death&7]&b%name of victim%(%victim%)は%name of attacker%に%name of attacker's tool%&bで殺された。"
  8. stop
  9. if attacker is not set:
  10. broadcast "&7[&6Death&7]&b%name of victim%(%victim%)は死んだ。"
  11. stop
  12. if name of attacker's tool is not set:
  13. broadcast "&7[&6Death&7]&b%name of victim%(%victim%)は%attacker%に%attacker's tool%で殺された。"
  14. stop
  15. broadcast "&7[&6Death&7]&b%name of victim%(%victim%)は%attacker%に%name of attacker's tool%&bで殺された。"
  16. stop
  17. if name of victim is not set:
  18. if attacker is not set:
  19. victim is a player
  20. broadcast "&7[&6Death&7]&b%victim%は死んだ。"
  21. stop
  22. if name of attacker's tool is not set:
  23. broadcast "&7[&6Death&7]&b%victim%は%attacker%に%attacker's tool%で殺された。"
  24. stop
  25. broadcast "&7[&6Death&7]&b%victim%は%attacker%に%name of attacker's tool%&bで殺された。"
  26.  
  27. on damage:
  28. wait 1 ticks
  29. if name of victim is not set:
  30. send "&7%victim%の残りHP:&c%victim's health * 2%&7/&c%victim's max health*2%&7(&c%victim's health/victim's max health*100% &7パーセント&7)" to attacker
  31. stop
  32. send "&7%name of victim%の残りHP:&c%victim's health * 2%&7/&c%victim's max health*2%&7(&c%victim's health/victim's max health*100% &7パーセント&7)" to attacker
Advertisement
Add Comment
Please, Sign In to add comment