Advertisement
70sOn7

Class Set HCF

Oct 31st, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. every tick:
  2. loop all players:
  3. if loop-player is wearing all leather armor:
  4. if loop-player has speed:
  5. apply resistance 2 to loop-player for 1 seconds
  6. stop
  7. else:
  8. apply speed 3 to loop-player for 1 seconds
  9. apply resistance 2 to loop-player for 1 seconds
  10. stop
  11. if loop-player is wearing all gold armor:
  12. if loop-player has speed:
  13. apply resistance 2 to the loop-player for 1 seconds
  14. apply weakness 2 to loop-player for 1 seconds
  15. stop
  16. else:
  17. apply speed 2 to loop-player for 1 seconds
  18. apply resistance 2 to the loop-player for 1 seconds
  19. apply weakness 2 to loop-player for 1 seconds
  20. apply regeneration to loop-player for 1 seconds
  21. if loop-player is wearing all iron armor:
  22. make console execute "/effect %loop-player% haste 1 2"
  23. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement