Guest User

Skrypt na Puszki Pandory!

a guest
Dec 23rd, 2015
2,063
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. #-------------------------------
  2. # Witam, oto mój 2 skrypt, napisałem puszki pandory ponieważ
  3. # nudziło mi się ~LordziaK
  4. #
  5. # Proszę o:
  6. # -Nie podszywanie się pod mój skrypt
  7. # -Można zmieniać drop itm, nazwy
  8. #
  9. #---------------------------------
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. options:
  53. permissia: commands.pandora
  54. InfoZeNieMaszPermissi: &4Nie masz permissi do &4&lcommendy &7(commands.pandora) :)!
  55. reload: pandora #Nazwa skryptu!
  56.  
  57. variables:
  58. {pandora.commands} = true
  59.  
  60.  
  61.  
  62.  
  63. # Crafting
  64.  
  65. on script load:
  66. 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
  67.  
  68. #
  69. # KOD:
  70. # Puszki Pandory
  71. #
  72. #
  73.  
  74. on place 122:
  75. set block to air
  76. if {event.commands} is true:
  77. set block to air
  78. send "&6Otworzyles puszkÄ™ pandory! &CDROP:"
  79. chance of 100%:
  80. send "&6+ Paczka obsa!"
  81. strike lightning effect at block
  82. drop 1 bedrock named "&5Paczka Obsa"
  83. chance of 50%:
  84. send "&6+ 16 diametowych blokow"
  85. drop 16 block of diamond
  86. chance of 50%:
  87. send "&6+ 16 emeraldowych blokow"
  88. drop 16 block of emerald
  89. chance of 10%:
  90. send "&6+ 16 zlotych blokow"
  91. drop 16 block of gold
  92. chance of 20%:
  93. send "&6+ 8 perelek"
  94. drop 8 ender pearl
  95. set block to air
  96. stop
  97. chance of 7%:
  98. loop blocks in radius 2:
  99. loop-blocks is not bedrock or obsidian or air:
  100. set loop-blocks to lava
  101. chance of 2%:
  102. spawn 1 zombie at block
  103. give diamond chestplate of Protection 4 to last spawned zombie's chestplate
  104. give diamond leggings of Protection 4 to last spawned zombie's leggings
  105. give diamond helmet of Protection 4 to last spawned zombie's helmet
  106. give diamond boots of Protection 4 to last spawned zombie's boots
  107. apply speed 3 to last spawned zombie
  108. apply strength 1 to last spawned zombie
  109. set the displayname of last spawned zombie to "&4B&cO&4S&cI&4K &c&lLordziaK"
  110. stop
  111. chance of 1%:
  112. loop blocks in radius 2:
  113. loop-blocks is not bedrock or obsidian or air:
  114. set loop-blocks to tnt or 152
  115. chance of 3%:
  116. apply POISON 4 to player for 5 seconds
  117. send "&6- POISON 4"
  118. chance of 35%:
  119. execute console command "case give %player% chroma"
  120. send "&6+ Chrome'case"
  121. chance of 20%:
  122. drop 1 322:1
  123. send "&6+ 1 kox"
  124. chance of 0.01%:
  125. drop 1 beacon
  126. broadcast "&6&l%player% wydropil beacona z puszki pandory"
  127.  
  128.  
  129.  
  130. #
  131. # KOD:
  132. # KOMENDA /pandora
  133. #
  134. #
  135.  
  136.  
  137.  
  138. command /pandora [<text>]:
  139. permission: {@permissia}
  140. permission message: {@InfoZeNieMaszPermissi}
  141. trigger:
  142. if arg 1 is not set:
  143. send "&6&lKomendy:"
  144. send "&7/pandora on &6Wlacz Puszki pandory!"
  145. send "&7/pandora off &6Wylacz Puszki pandory!"
  146. send "&7/pandora crafting &6Crafting"
  147. send "&7/pandora autor &6Inforamcje o autorze!"
  148. if arg 1 is "on":
  149. set {event.commands} to true
  150. send "&6Wlaczyles Puszki pandory &7BY LordziaK"
  151. if arg 1 is "off":
  152. set {event.commands} to false
  153. send "&6Wylaczyles Puszki pandory &7BY LordziaK"
  154. if arg 1 is "crafting":
  155. send "&5O O O"
  156. send "&5O &fX &5O"
  157. send "&5O O O"
  158. send ""
  159. send "&50 &7- Obsydian"
  160. send "&fX &7- Perelka"
  161. if arg 1 is "autor":
  162. send "&6Autorem skryptu jest LordziaK "
  163. stop
  164.  
  165.  
  166. #
  167. # KOD:
  168. # PACZKI OBSYDIANU
  169. #
  170. #
  171.  
  172.  
  173. on place bedrock:
  174. send "&5&lOBSYDIAN :D"
  175. chance of 42%:
  176. drop 120 49 named "&5obs z paczki obsa ;3"
  177. drop 120 49 named "&5obs z paczki obsa ;3"
  178. chance of 25%:
  179. drop 120 49 named "&5obs z paczki obsa ;3"
  180. set block to air
  181. stop
Advertisement
Add Comment
Please, Sign In to add comment