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's level progress is larger than 0.07
- loop 20 times:
- spawn falling block of packed ice block at player's head
- push last spawned falling block forwards at speed random number from 0.01 to 0.5
- push last spawned falling block backwards at speed random number from 0.01 to 0.5
- push last spawned falling block to the left at speed random number from 0.01 to 0.5
- push last spawned falling block to the right at speed random number from 0.01 to 0.5
- push last spawned falling block upwards at speed random number from 0.1 to 0.5
- push last spawned falling block under at speed random number from 0.01 and 0.1
- show 100 Snow Shovel particles at player offset by 2.5, 2.5, 2.5 with speed 0.3
- show 100 Snowball particles at player offset by 2.5, 2.5, 2.5 with speed 0.3
- play sound "entity.experience_orb.pickup" with volume 10 and pitch 1 at player for players in radius 10 of player
- play sound "entity.player.levelup" with volume 10 and pitch 1 at player for players in radius 10 of player
- reduce the player's level progress by 0.05
- on block stop falling:
- cancel event
- on item spawn:
- if event-item is packed ice block:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement