Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. command /boss:
  2. trigger:
  3. if player have permissions "boss.*":
  4. spawn 1 skeleton in front of player
  5. equip last spawned entity with all diamond armor of protection 4 and unbreaking
  6. set last spawned entity's tool to diamond sword of sharpness 5 and fire aspect 2 and unbreaking 3
  7. set max health of last spawned entity to 100
  8. set name of last spawned entity to "&lKrol Szkieletow"
  9. heal last spawned entity
  10.  
  11.  
  12. on death of skeleton:
  13. set {boss:nazwa} to victim's name
  14. broadcast "%{boss:nazwa}%"
  15. if {boss:nazwa} is "&lKrol Szkieletow":
  16. broadcast "&e%attacker% &fzabil &a&lKrola Szkieletow! &fOtrzymal range &5SVIP&f oraz &3BEACONA!"
  17. execute console command "pex user %attacker% group set svip"
  18. drop beacon at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement