Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding a enchanted book:
- if name of player's tool is "&3&lアイスシールド":
- {%player%::c} is not set
- {AIS::%player%::*} is not set
- player's level progress is larger than 0.05
- loop blocks in radius 3 around player:
- if loop-block is air:
- add loop-block to {AIS::%player%::*}
- loop blocks in radius 2 around player:
- subtract loop-block from {AIS::%player%::*}
- loop {AIS::%player%::*}:
- set block at loop-value to ice
- play sound "entity.irongolem.hurt" with volume 10 and pitch 1 at player for players in radius 10 of player
- reduce the player's level progress by 0.05
- wait 3 ticks
- loop 5 times:
- if player is sneaking:
- if player's level progress is more than 0.03:
- reduce the player's level progress by 0.03
- wait second
- else:
- loop {AIS::%player%::*}:
- set block at loop-value-2 to air
- play sound "entity.irongolem.death" with volume 10 and pitch 1 at player for players in radius 10 of player
- delete {AIS::%player%::*}
- stop loop
- loop {AIS::%player%::*}:
- set block at loop-value to air
- {AIS::%player%::*} is set
- play sound "entity.irongolem.death" with volume 10 and pitch 1 at player for players in radius 10 of player
- delete {AIS::%player%::*}
- on sneak toggle:
- if {AIS::%player%::*} is set:
- loop {AIS::%player%::*}:
- set block at loop-value to air
- play sound "entity.irongolem.death" with volume 10 and pitch 1 at player for players in radius 10 of player
- delete {AIS::%player%::*}
- On Fade:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement