Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /boss:
- trigger:
- if player have permissions "boss.*":
- spawn 1 skeleton in front of player
- equip last spawned entity with all diamond armor of protection 4 and unbreaking
- set last spawned entity's tool to diamond sword of sharpness 5 and fire aspect 2 and unbreaking 3
- set max health of last spawned entity to 100
- set name of last spawned entity to "&lKrol Szkieletow"
- heal last spawned entity
- on death of skeleton:
- set {boss:nazwa} to victim's name
- broadcast "%{boss:nazwa}%"
- if {boss:nazwa} is "&lKrol Szkieletow":
- broadcast "&e%attacker% &fzabil &a&lKrola Szkieletow! &fOtrzymal range &5SVIP&f oraz &3BEACONA!"
- execute console command "pex user %attacker% group set svip"
- drop beacon at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement