Guest User

Untitled

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