Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- mob: bat
- ilosc: 10
- nazwa: &dASPYR
- delay: 2
- on script load:
- set {@delay} to 2
- command /pig <text>:
- trigger:
- player has permission "pig.admin":
- if arg 1 is "set":
- set {pig} to location of player
- send "&4PIG &l>> &aStworzono swiniarnie."
- if arg 1 is "del":
- clear {pig}
- send "&4PIG &l>> &aUsunieto swiniarnie."
- on right click:
- if clicked block is stone button:
- if block behind clicked block is 97:5:
- if {@delay} is 0:
- loop {@ilosc} times:
- spawn 1 {@mob} at {pig}
- set name of last spawned {@mob} to "{@nazwa}"
- set the maximum health of the spawned {@mob} to 1
- ignite spawned {@mob}
- set {@delay} to 2
- on death of {@mob}:
- if name of {@mob} is "{@nazwa}":
- clear drops
- add 2 350:1 named "&4mc.potyczka.net" to drops
- every 1 seconds:
- remove 1 from {@delay}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement