Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------------------
- # Witam, oto mój 2 skrypt, napisałem puszki pandory ponieważ
- # nudziło mi się ~LordziaK
- #
- # Proszę o:
- # -Nie podszywanie się pod mój skrypt
- # -Można zmieniać drop itm, nazwy
- #
- #---------------------------------
- options:
- permissia: commands.pandora
- InfoZeNieMaszPermissi: &4Nie masz permissi do &4&lcommendy &7(commands.pandora) :)!
- reload: pandora #Nazwa skryptu!
- variables:
- {pandora.commands} = true
- # Crafting
- on script load:
- register new shaped recipe for Dragon Egg of infinity 1 named "&6Puszka Pandory" with lore "&aPlugin LordziaK'a" using obsidian, obsidian, obsidian, obsidian, ender pearl, obsidian, obsidian, obsidian, obsidian
- #
- # KOD:
- # Puszki Pandory
- #
- #
- on place 122:
- set block to air
- if {event.commands} is true:
- set block to air
- send "&6Otworzyles puszkÄ™ pandory! &CDROP:"
- chance of 100%:
- send "&6+ Paczka obsa!"
- strike lightning effect at block
- drop 1 bedrock named "&5Paczka Obsa"
- chance of 50%:
- send "&6+ 16 diametowych blokow"
- drop 16 block of diamond
- chance of 50%:
- send "&6+ 16 emeraldowych blokow"
- drop 16 block of emerald
- chance of 10%:
- send "&6+ 16 zlotych blokow"
- drop 16 block of gold
- chance of 20%:
- send "&6+ 8 perelek"
- drop 8 ender pearl
- set block to air
- stop
- chance of 7%:
- loop blocks in radius 2:
- loop-blocks is not bedrock or obsidian or air:
- set loop-blocks to lava
- chance of 2%:
- spawn 1 zombie at block
- give diamond chestplate of Protection 4 to last spawned zombie's chestplate
- give diamond leggings of Protection 4 to last spawned zombie's leggings
- give diamond helmet of Protection 4 to last spawned zombie's helmet
- give diamond boots of Protection 4 to last spawned zombie's boots
- apply speed 3 to last spawned zombie
- apply strength 1 to last spawned zombie
- set the displayname of last spawned zombie to "&4B&cO&4S&cI&4K &c&lLordziaK"
- stop
- chance of 1%:
- loop blocks in radius 2:
- loop-blocks is not bedrock or obsidian or air:
- set loop-blocks to tnt or 152
- chance of 3%:
- apply POISON 4 to player for 5 seconds
- send "&6- POISON 4"
- chance of 35%:
- execute console command "case give %player% chroma"
- send "&6+ Chrome'case"
- chance of 20%:
- drop 1 322:1
- send "&6+ 1 kox"
- chance of 0.01%:
- drop 1 beacon
- broadcast "&6&l%player% wydropil beacona z puszki pandory"
- #
- # KOD:
- # KOMENDA /pandora
- #
- #
- command /pandora [<text>]:
- permission: {@permissia}
- permission message: {@InfoZeNieMaszPermissi}
- trigger:
- if arg 1 is not set:
- send "&6&lKomendy:"
- send "&7/pandora on &6Wlacz Puszki pandory!"
- send "&7/pandora off &6Wylacz Puszki pandory!"
- send "&7/pandora crafting &6Crafting"
- send "&7/pandora autor &6Inforamcje o autorze!"
- if arg 1 is "on":
- set {event.commands} to true
- send "&6Wlaczyles Puszki pandory &7BY LordziaK"
- if arg 1 is "off":
- set {event.commands} to false
- send "&6Wylaczyles Puszki pandory &7BY LordziaK"
- if arg 1 is "crafting":
- send "&5O O O"
- send "&5O &fX &5O"
- send "&5O O O"
- send ""
- send "&50 &7- Obsydian"
- send "&fX &7- Perelka"
- if arg 1 is "autor":
- send "&6Autorem skryptu jest LordziaK "
- stop
- #
- # KOD:
- # PACZKI OBSYDIANU
- #
- #
- on place bedrock:
- send "&5&lOBSYDIAN :D"
- chance of 42%:
- drop 120 49 named "&5obs z paczki obsa ;3"
- drop 120 49 named "&5obs z paczki obsa ;3"
- chance of 25%:
- drop 120 49 named "&5obs z paczki obsa ;3"
- set block to air
- stop
Advertisement
Add Comment
Please, Sign In to add comment