Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every tick:
- loop all players:
- if loop-player is wearing all leather armor:
- if loop-player has speed:
- apply resistance 2 to loop-player for 1 seconds
- stop
- else:
- apply speed 3 to loop-player for 1 seconds
- apply resistance 2 to loop-player for 1 seconds
- stop
- if loop-player is wearing all gold armor:
- if loop-player has speed:
- apply resistance 2 to the loop-player for 1 seconds
- apply weakness 2 to loop-player for 1 seconds
- stop
- else:
- apply speed 2 to loop-player for 1 seconds
- apply resistance 2 to the loop-player for 1 seconds
- apply weakness 2 to loop-player for 1 seconds
- apply regeneration to loop-player for 1 seconds
- if loop-player is wearing all iron armor:
- make console execute "/effect %loop-player% haste 1 2"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement