Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #▒█▀▀█ █▀▀ ▀▀█▀▀
- #▒█▄▄█ █▀▀ ░░█░░
- #▒█░░░ ▀▀▀ ░░▀░░
- #
- #█▀▄▀█ █▀▀█ █▀▀▄ █▀▀█ █▀▀▀ █▀▀ █▀▀█
- #█░▀░█ █▄▄█ █░░█ █▄▄█ █░▀█ █▀▀ █▄▄▀
- #▀░░░▀ ▀░░▀ ▀░░▀ ▀░░▀ ▀▀▀▀ ▀▀▀ ▀░▀▀
- #
- # Parrot © 2014
- #
- # Wersja 1.2 beta
- #
- #
- # Update-Checker
- #
- #
- on script load:
- set {_v} to "1.2"
- set {_vp} to text from url "http://pastebin.com/raw.php?i=SBtiptyk"
- if "%{_v}%" is not "%{_vp}%":
- broadcast " "
- broadcast " "
- broadcast "&4Nowa wersja skryptu &6PetManager &4zostala wydana!"
- broadcast "&4Pobierz ja na &6http://pastebin.com/raw.php?i=JfGaarnJ"
- broadcast " "
- broadcast " "
- #
- #
- # Lapanie
- #
- #
- on rightclick on a entity:
- if player's tool is spawn egg named "&4&lPoke&f&lBall":
- remove 1 spawn egg from player's inventory
- send "&7[&6*&7] Mob &6%clicked entity% &7zostal schowany!"
- kill the clicked entity
- if name of clicked entity is not set:
- give spawn egg named "&bMob - &6%clicked entity%" to the player
- else:
- give spawn egg named "&bMob - &6%clicked entity%" with lore "%name of clicked entity%" to the player
- #
- #
- # Przywracanie
- #
- #
- on rightclick with spawn egg:
- if name of player's tool is "&4&lPoke&f&lBall":
- cancel event
- else:
- set {_n} to name of player's tool
- set {_l} to lore of player's tool
- replace all "|" with "" in {_l}
- replace all "&bMob - &6" with "" in {_n}
- if {_n} is "pig":
- spawn 1 pig at the target block
- set name of spawned entity to {_l}
- if {_n} is "chicken":
- spawn 1 chicken at the target block
- set name of spawned entity to {_l}
- if {_n} is "cow":
- spawn 1 cow at the target block
- set name of spawned entity to {_l}
- if {_n} is "horse":
- spawn 1 horse at the target block
- set name of spawned entity to {_l}
- if {_n} is "Sheep":
- spawn 1 Sheep at the target block
- set name of spawned entity to {_l}
- #
- #
- # Lapanie zombie
- #
- #
- on rightclick with Rotten Flesh on a zombie:
- if name of clicked entity is not set:
- add 1 to {lapanie.%player%}
- remove 1 rotten flesh from player
- if {lapanie.%player%} is more than 19:
- send "&7[&6*&7] &aProces lapania zombie zakonczony sukcesem!"
- set name of clicked entity to "&6%player%"
- apply fire resistance to the clicked entity for 999 days
- set {lapanie.%player%} to 0
- else:
- send "&7[&6*&7] Postep w lapaniu zombie: &a%{lapanie.%player%}%/20"
- else:
- send "&7[&6*&7] Ten zombie juz jest zlapany!"
- #
- #
- # Ochrona psow i kotow
- #
- #
- on rightclick with name tag:
- if clicked entity is wolf or ocelot:
- if name of clicked entity is set:
- cancel event
- send "&7[&6*&7] Ten pupil juz do kogos nalezy!"
- else:
- send "&7[&6*&7] Teraz to twoj pupil :)"
- set name of clicked entity to "&6%player%"
- #
- #
- # Leczenie zombie
- #
- #
- on rightclick with steak on a zombie:
- if name of clicked entity is set:
- if name of clicked entity is "&6%player%":
- remove 1 steak from player
- heal clicked entity
- send "&7[&6*&7] Zombie zostal uleczony!"
- else:
- send "&7[&6*&7] To nie twoj zombie"
- else:
- send "&7[&6*&7] Ten zombie nie nalezy do nikogo wiec nie mozesz go uleczyc!"
- damage player by 1 heart
- #
- #
- # Obrazenia
- #
- #
- on damage:
- if victim is player:
- if attacker is zombie:
- set {_v} to "&6%victim%"
- if "%{_v}%" is attacker's name:
- cancel event
- if attacker is player:
- if victim is wolf or ocelot:
- if victim's name is set:
- set {_v} to victim's name
- replace all "&6" with "" in {_v}
- set {_a} to attacker's name
- if "%{_v}%" is not "%{_a}%":
- send "&7[&6*&7] Nie mozesz bic nie swojego pupila!"
- #
- #
- # Crafting
- #
- #
- on script load:
- register new shaped recipe for spawn egg named "&4&lPoke&f&lBall" using none, rose red, none, none, egg, none, none, bone meal, none
Advertisement
Add Comment
Please, Sign In to add comment