Guest User

Untitled

a guest
May 7th, 2015
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. options:
  2. tag: &8[&dSwinia&7]
  3.  
  4. command /pig [<text>]:
  5. trigger:
  6. if arg1 is "stworz" or "create":
  7. player is an op:
  8. give pink wool named "&d&lSpawner Pig" to the player
  9. send "{@tag} &6> &aPostaw welne na ziemi, to twoj spawner" to the player
  10. stop
  11. on place of wool:
  12. if name of player's tool is "&d&lSpawner Pig":
  13. set {pig.spawn} to location of block
  14. send "{@tag} &6> &aUstawiono Pig Spawner" to the player
  15. stop
  16. on break of wool:
  17. if {pig.spawn} is location of block:
  18. set {pig.spawn} to none
  19. stop
  20.  
  21. every 20 seconds:
  22. spawn 10 pig at {pig.spawn}
  23. ignite spawned pig
  24. set max health of spawned pigs to 3
  25. stop
Advertisement
Add Comment
Please, Sign In to add comment