Advertisement
nabe0929

Untitled

Jun 27th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. on damage:
  2. if victim is not player:
  3. set {_color} to "a"
  4. if victim's display name contains " &7- ":
  5. set {_displayname::*} to victim's display name split by " &7- "
  6. set victim's display name to {_displayname::1}
  7. if max health of victim / health of victim is greater than 2:
  8. set {_color} to "6"
  9. if max health of victim / health of victim is greater than 4:
  10. set {_color} to "c"
  11. set victim's display name to "%victim's display name% &7- §%{_color}%%health of victim% &7/ &a%max health of victim%"
  12.  
  13. on heal:
  14. if entity is not player:
  15. set {_color} to "a"
  16. if entity's display name contains " &7- ":
  17. set {_displayname::*} to entity's display name split by " &7- "
  18. set entity's display name to {_displayname::1}
  19. if max health of entity / health of entity is greater than 2:
  20. set {_color} to "6"
  21. if max health of entity / health of entity is greater than 4:
  22. set {_color} to "c"
  23. set entity's display name to "%entity's display name% &7- §%{_color}%%health of entity% &7/ &a%max health of entity%"
  24.  
  25. on combust:
  26. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement