Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on lime wool:
- spawn 1 zombie at block above event-block
- set event-block to air
- loop all entities in radius 2 of event-block:
- if loop-entity is a zombie:
- set max health of loop-entity to 750
- set health of loop-entity to 750
- equip loop-entity with all diamond armor of protection 20 and unbreaking 32767
- set loop-entity's held item to iron sword of sharpness 10 and unbreaking 32767
- set name of loop-entity to "&b&lMountain Grump"
- set the loop-entity's walk speed to 0.50
- every 5 ticks:
- loop all entities:
- if name of loop-entity contains "&b&lMountain Grump":
- set name of loop-entity to "&b&lMountain Grump &7[%health of loop-entity%/750"
- if name of loop-entity contains "&b&lMountain Minion":
- set name of loop-entity to "&b&lMountain Minion &7[%health of loop-entity%/170"
- on damage:
- if name of victim contains "&b&lMountain Grump":
- if victim's health is below 749:
- chance of 3%:
- loop all players in radius 10 around victim:
- set the loop-player's walk speed to 0
- strike lightning effect at the loop-player
- damage loop-player by 2
- send "&7You have been freezed for 10 seconds by the &b&lMountain Grump" to loop-player
- wait 10 seconds
- set the loop-player's walk speed to 0.25
- on damage:
- if name of victim contains "&b&lMountain Grump":
- if victim's health is below 499:
- chance of 5%:
- loop 10 times:
- spawn falling block of stone or cobble stone or smooth stone or dead fire coral block 3 blocks above victim
- push last spawned entity upwards at speed 3
- wait 3 ticks
- push last spawned entity north or northwest or east or southwest or west or south at speed 0.2 or 0.3 or 0.4 or 0.5
- on damage:
- if name of victim contains "&b&lMountain Grump":
- if victim's health is below 499:
- chance of 1%:
- loop all players in radius 5 around victim:
- push loop-player backwards at speed 7
- apply regeneration 10 to victim for 4 seconds
- on damage:
- if name of victim contains "&b&lMountain Grump":
- if victim's health is below 199:
- chance of 3%:
- loop 3 times:
- spawn 1 baby zombie above victim
- loop all entities in radius 5 around victim:
- if loop-entity is a baby zombie:
- equip loop-entity with all iron armor of protection 10 and unbreaking 32767
- set loop-entity's held item to stone sword of sharpness 7 and unbreaking 32767
- set loop-entity's name to "&b&lMountain Minion"
- set loop-entity's max health to 170
- set loop-entity's health to 170
- on block land:
- cancel event
- create a fake explosion at event-block
- loop all players in radius 5 of event-block:
- damage loop-player by 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement