Guest User

Swiniarka.sk

a guest
Oct 17th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. options:
  2. mob: pig
  3. nazwa: &4&l[&3&lSwiniarka&4&l]
  4.  
  5.  
  6. command /pig <text>:
  7. trigger:
  8. player has permission "pig.admin":
  9. if arg 1 is "set":
  10. set {pig} to location of player
  11. send "&4PIGG &l>> &aStworzono swiniarnie."
  12. if arg 1 is "del":
  13. clear {pig}
  14. send "&4PIGG &l>> &aUsunieto swiniarnie."
  15. #_________________________________________________________
  16. on right click:
  17. if clicked block is stone button:
  18. if block behind clicked block is end stone:
  19. loop 10 times:
  20. spawn 1 {@mob} at {pig}
  21. ignite last spawned entity for 30 seconds
  22. APPLY slowness to last spawned entity for 30 seconds
  23. set spawned pig's health to 3
  24. set name of last spawned entity to "{@nazwa}"
Advertisement
Add Comment
Please, Sign In to add comment