SilentShiro

Untitled

Mar 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. on damage:
  2. if victim is a skeleton:
  3. chance of 50%:
  4. bind hologram "&4Geblockt!" to victim for 0.75 seconds offset by 1, 1.5, 0
  5. stop
  6. else if victim is a player:
  7. clear {block.%victim%}
  8. if victim is wearing all diamond armour:
  9. add 60 to {block.%victim%}
  10. chance of {block.%victim%}%:
  11. bind hologram "&4Geblockt!" to victim for 0.75 seconds offset by 1, 1.5, 0
  12. stop
  13. else:
  14. chance of 25%:
  15. cancel event
  16. bind hologram "Parry" to victim for 0.75 seconds offset by 1, 1.5, 0
  17. stop
  18. set {_damage} to damage
  19. bind hologram "&e-%{_damage}*2%" to victim for 0.75 seconds offset by 0, 1.5, 1
Advertisement
Add Comment
Please, Sign In to add comment