Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /boss-spawn:
- trigger:
- spawn 1 zombie at location of player
- set helmet of last spawned entity to leather helmet
- set chestplate of last spawned entity to leather chestplate
- set leggings of last spawned entity to leather leggings
- set boots of last spawned entity to leather boots
- set tool of last spawned entity to diamond sword
- set the last spawned entity's max health to 50
- heal last spawned entity
- apply speed 2 to the last spawned entity for 999 seconds
- set the name of last spawned entity to "&c&lMroczny &a&lZombie"
- send "boss został zrespiony na %location of player%"
- on damage:
- if attacker is player:
- if victim is zombie:
- if name of victim is "&c&lMroczny &a&lZombie":
- display "&c&lMroczny &a&lZombie: &f%victim's health%&4/&f%max health of victim%" on bossbar with 100 percent by 5 seconds for attacker
Advertisement
Add Comment
Please, Sign In to add comment