Guest User

Untitled

a guest
May 3rd, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.32 KB | None | 0 0
  1. #DROP BY xAxee
  2. #ZROBIONY DLA 5torm
  3. #POZWALAM EDYTOWAC
  4. #ALE ZABRANIAM PODSZYWANIA SIE POD AUTORA
  5. #PROSZE TEGO NIE USUWAC
  6.  
  7. options:
  8. czass: 2
  9.  
  10. variables:
  11. {cobble.%player%} = true
  12. {stone::%player%} = 0
  13. {obsi::%player%} = 0
  14.  
  15. command /drop [<text>]:
  16. trigger:
  17. open chest with 3 rows named "&c&lDrop" to player
  18. wait 2 tick
  19. format slot 0 of player with 1 of 57 named "&8&l* &c&lDiament &8&l*" with lore "&8&l* &e7 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{diament.%player%}%" to run [execute player command "/diament"]
  20. format slot 1 of player with 1 of 41 named "&8&l* &c&lZloto &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{zloto.%player%}%" to run [execute player command "/zloto"]
  21. format slot 2 of player with 1 of 42 named "&8&l* &c&lZelazo &8&l*" with lore "&8&l* &e9 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{zelazo.%player%}%" to run [execute player command "/zelazo"]
  22. format slot 3 of player with 1 of 49 named "&8&l* &c&lObsydian &8&l*" with lore "&8&l* &e7 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{obsi.%player%}%" to run [execute player command "/obsidian"]
  23. format slot 4 of player with 1 of 133 named "&8&l* &c&lSzmaragd &8&l*" with lore "&8&l* &e5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{szmaragd.%player%}%" to run [execute player command "/szmaragd"]
  24. format slot 5 of player with 1 of 173 named "&8&l* &c&lWegiel &8&l*" with lore "&8&l* &e5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{wegiel.%player%}%" to run [execute player command "/wegiel"]
  25. format slot 6 of player with 1 of 46 named "&8&l* &c&lTNT &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{tnt.%player%}%" to run [execute player command "/tntt"]
  26. format slot 7 of player with 1 of 47 named "&8&l* &c&lBiblioteczki &8&l*" with lore "&8&l* &e2 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{biblio.%player%}%" to run [execute player command "/biblio"]
  27. format slot 8 of player with 1 of 260 named "&8&l* &c&lJablka &8&l*" with lore "&8&l* &e2.5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{jablka.%player%}%" to run [execute player command "/jablka"]
  28. format slot 9 of player with 1 of 368 named "&8&l* &c&lPerly &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{perly.%player%}%" to run [execute player command "/perly"]
  29. format slot 10 of player with 1 of 287 named "&8&l* &c&lPajeczyny &8&l*" with lore "&8&l* &e1 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{paje.%player%}%" to run [execute player command "/paje"]
  30. format slot 18 of player with 1 of red wool named "&4&lDropy" with lore "&cKliknij aby wylaczyc wszystkie dropy" to run [execute player command "/alldropoff"]
  31. format slot 19 of player with 1 of green wool named "&a&lDropy" with lore "&aKliknij aby wlaczyc wszystkie dropy" to run [execute player command "/alldropon"]
  32. format slot 26 of player with 1 of 4 named "&8&l* &7&lCobblestone &8&l*" with lore "&cKliknij aby wylaczyc drop" to run [execute player command "/cobble"]
  33. format slot 25 of player with 1 of 314 named "&8&l* &a&lTopki Kopania &8&l*" to run [execute player command "topp %player%"]
  34.  
  35.  
  36. command /diament [<text>]:
  37. trigger:
  38. if {diament.%player%} is true:
  39. set {diament.%player%} to false
  40. send "&cWylaczyles Drop!" to player
  41. wait 2 tick
  42. execute player command "/drop"
  43. else:
  44. set {diament.%player%} to true
  45. send "&cWlaczyles Drop!" to player
  46. wait 2 tick
  47. execute player command "/drop"
  48. command /zloto [<text>]:
  49. trigger:
  50. if {zloto.%player%} is true:
  51. set {zloto.%player%} to false
  52. send "&cWylaczyles Drop!" to player
  53. wait 2 tick
  54. execute player command "/drop"
  55. else:
  56. set {zloto.%player%} to true
  57. send "&cWlaczyles Drop!" to player
  58. wait 2 tick
  59. execute player command "/drop"
  60. command /zelazo [<text>]:
  61. trigger:
  62. if {zelazo.%player%} is true:
  63. set {zelazo.%player%} to false
  64. send "&cWylaczyles Drop!" to player
  65. wait 2 tick
  66. execute player command "/drop"
  67. else:
  68. set {zelazo.%player%} to true
  69. send "&cWlaczyles Drop!" to player
  70. wait 2 tick
  71. execute player command "/drop"
  72. command /obsidian [<text>]:
  73. trigger:
  74. if {obsi.%player%} is true:
  75. set {obsi.%player%} to false
  76. send "&cWylaczyles Drop!" to player
  77. wait 2 tick
  78. execute player command "/drop"
  79. else:
  80. set {obsi.%player%} to true
  81. send "&cWlaczyles Drop!" to player
  82. wait 2 tick
  83. execute player command "/drop"
  84. command /szmaragd [<text>]:
  85. trigger:
  86. if {szmaragd.%player%} is true:
  87. set {szmaragd.%player%} to false
  88. send "&cWylaczyles Drop!" to player
  89. wait 2 tick
  90. execute player command "/drop"
  91. else:
  92. set {szmaragd.%player%} to true
  93. send "&cWlaczyles Drop!" to player
  94. wait 2 tick
  95. execute player command "/drop"
  96. command /wegiel [<text>]:
  97. trigger:
  98. if {wegiel.%player%} is true:
  99. set {wegiel.%player%} to false
  100. send "&cWylaczyles Drop!" to player
  101. wait 2 tick
  102. execute player command "/drop"
  103. else:
  104. set {wegiel.%player%} to true
  105. send "&cWlaczyles Drop!" to player
  106. wait 2 tick
  107. execute player command "/drop"
  108. command /tnt [<text>]:
  109. trigger:
  110. if {tnt.%player%} is true:
  111. set {tnt.%player%} to false
  112. send "&cWylaczyles Drop!" to player
  113. wait 2 tick
  114. execute player command "/drop"
  115. else:
  116. set {tnt.%player%} to true
  117. send "&cWlaczyles Drop!" to player
  118. wait 2 tick
  119. execute player command "/drop"
  120. command /biblio [<text>]:
  121. trigger:
  122. if {biblio.%player%} is true:
  123. set {biblio.%player%} to false
  124. send "&cWylaczyles Drop!" to player
  125. wait 2 tick
  126. execute player command "/drop"
  127. else:
  128. set {biblio.%player%} to true
  129. send "&cWlaczyles Drop!" to player
  130. wait 2 tick
  131. execute player command "/drop"
  132. command /jablka [<text>]:
  133. trigger:
  134. if {jablka.%player%} is true:
  135. set {jablka.%player%} to false
  136. send "&cWylaczyles Drop!" to player
  137. wait 2 tick
  138. execute player command "/drop"
  139. else:
  140. set {jablka.%player%} to true
  141. send "&cWlaczyles Drop!" to player
  142. wait 2 tick
  143. execute player command "/drop"
  144. command /perly [<text>]:
  145. trigger:
  146. if {perly.%player%} is true:
  147. set {perly.%player%} to false
  148. send "&cWylaczyles Drop!" to player
  149. wait 2 tick
  150. execute player command "/drop"
  151. else:
  152. set {perly.%player%} to true
  153. send "&cWlaczyles Drop!" to player
  154. wait 2 tick
  155. execute player command "/drop"
  156. command /paje [<text>]:
  157. trigger:
  158. if {paje.%player%} is true:
  159. set {paje.%player%} to false
  160. send "&cWylaczyles Drop!" to player
  161. wait 2 tick
  162. execute player command "/drop"
  163. else:
  164. set {paje.%player%} to true
  165. send "&cWlaczyles Drop!" to player
  166. wait 2 tick
  167. execute player command "/drop"
  168.  
  169. command /cobble [<text>]:
  170. trigger:
  171. if {cobble.%player%} is true:
  172. set {cobble.%player%} to false
  173. send "&6&l>> &4&lDrop cobble: &6wylaczony"
  174. else:
  175. set {cobble.%player%} to true
  176. send "&6&l>> &2&lDrop cobble: &6wlaczony"
  177. command /alldropoff:
  178. trigger:
  179. set {szmaragd.%player%} to false
  180. set {diament.%player%} to false
  181. set {tnt.%player%} to false
  182. set {perly.%player%} to false
  183. set {paje.%player%} to false
  184. set {biblio.%player%} to false
  185. set {wegiel.%player%} to false
  186. set {zelazo.%player%} to false
  187. set {zloto.%player%} to false
  188. set {obsi.%player%} to false
  189. set {jablka.%player%} to false
  190. send "&cWylaczyles wszytkie dropy!" to player
  191. wait 2 tick
  192. execute player command "/drop"
  193. command /alldropon:
  194. trigger:
  195. set {szmaragd.%player%} to true
  196. set {diament.%player%} to true
  197. set {tnt.%player%} to true
  198. set {perly.%player%} to true
  199. set {paje.%player%} to true
  200. set {biblio.%player%} to true
  201. set {wegiel.%player%} to true
  202. set {zelazo.%player%} to true
  203. set {zloto.%player%} to true
  204. set {obsi.%player%} to true
  205. set {jablka.%player%} to true
  206. send "&aWlaczyles wszytkie dropy!" to player
  207. wait 2 tick
  208. execute player command "/drop"
  209. command /topp [<player>]:
  210. trigger:
  211. wait {@czass} tick
  212. open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player
  213. wait {@czass} tick
  214. loop 9 times:
  215. format slot loop-number -1 of player with 1 of gray glass pane named "&7Top &67 &7Graczy" to be unstealable
  216. format slot 4 of player with 1 of yellow glass pane named "&7Top &67 &7Graczy" with lore "&7» &cKliknij aby zamknac" to close
  217. format slot 3 of player with 1 of stone named "&6Top 7 Wykopanego kamienia!" with lore "&7» &cKliknij aby pokazac" to run [execute player command "stonetop %player%"]
  218. format slot 5 of player with 1 of obsidian named "&6Top 7 Wykopanego obsidianu!" with lore "&7» &cKliknij aby pokazac" to run [execute player command "obstop %player%"]
  219. command /stonetop [<player>]:
  220. trigger:
  221. wait {@czass} tick
  222. open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player
  223. wait {@czass} tick
  224. format slot 0 of player with 1 of gray stained glass pane to close
  225. format slot 8 of player with 1 of gray stained glass pane to close
  226. set {_num} to size of {stone::*}
  227. loop {_num} times:
  228. loop {stone::*}:
  229. {_v.%loop-number%} is not set:
  230. set {_v.%loop-number%} to loop-value
  231. set {_n.%loop-number%} to loop-index
  232. loop-value is greater than {_v.%loop-number%}:
  233. set {_v.%loop-number%} to loop-value
  234. set {_n.%loop-number%} to loop-index
  235. remove {_v.%loop-number%} from {stone::*}
  236. loop {_num} times:
  237. loop-number is less than or equal to 9:
  238. set {_m} to "%loop-number%"
  239. loop-number is more than 19:
  240. set {_m} to loop-number
  241. {_v.%loop-number%} is more than 0:
  242. format slot loop-number of player with 1 stone named "&c%{_m}%. &6%{_n.%loop-number%}%" with lore "&aWykopanego Stone:||&f%{_v.%loop-number%}% Sztuk" to close
  243. set {stone::%{_n.%loop-number%}%} to {_v.%loop-number%}
  244. {_num} is less than 7:
  245. set {_r} to {_num}+1
  246. loop 6 - {_num} times:
  247. set {_m} to "0%{_r}%"
  248. {_r} is more than 19:
  249. set {_m} to {_r}
  250. add 1 to {_r}
  251.  
  252. command /obstop [<player>]:
  253. trigger:
  254. wait {@czass} tick
  255. open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player
  256. wait {@czass} tick
  257. format slot 0 of player with 1 of gray stained glass pane to close
  258. format slot 8 of player with 1 of gray stained glass pane to close
  259. set {_num} to size of {obsi::*}
  260. loop {_num} times:
  261. loop {obsi::*}:
  262. {_v.%loop-number%} is not set:
  263. set {_v.%loop-number%} to loop-value
  264. set {_n.%loop-number%} to loop-index
  265. loop-value is greater than {_v.%loop-number%}:
  266. set {_v.%loop-number%} to loop-value
  267. set {_n.%loop-number%} to loop-index
  268. remove {_v.%loop-number%} from {obsi::*}
  269. loop {_num} times:
  270. loop-number is less than or equal to 9:
  271. set {_m} to "%loop-number%"
  272. loop-number is more than 19:
  273. set {_m} to loop-number
  274. {_v.%loop-number%} is more than 0:
  275. format slot loop-number of player with 1 obsidian named "&c%{_m}%. &6%{_n.%loop-number%}%" with lore "&aWykopanego Obsidianu:||&f%{_v.%loop-number%}% Sztuk" to close
  276. set {obsi::%{_n.%loop-number%}%} to {_v.%loop-number%}
  277. {_num} is less than 7:
  278. set {_r} to {_num}+1
  279. loop 6 - {_num} times:
  280. set {_m} to "0%{_r}%"
  281. {_r} is more than 19:
  282. set {_m} to {_r}
  283. add 1 to {_r}
  284.  
  285. on mine stone:
  286. add 1 to {stone::%player%}
  287. on mine obsidian:
  288. add 1 to {obsi::%player%}
  289.  
  290. on mine stone:
  291. if {diament.%player%} is true:
  292. chance of 7%:
  293. drop 1 diamond block
  294. if {zloto.%player%} is true:
  295. chance of 5%:
  296. drop 1 gold block
  297. if {zelazo.%player%} is true:
  298. chance of 9%:
  299. drop 1 iron block
  300. if {obsi.%player%} is true:
  301. chance of 7%:
  302. drop 1 obsidian
  303. if {emerald.%player%} is true:
  304. chance of 5%:
  305. drop 1 emerald block
  306. if {wegiel.%player%} is true:
  307. chance of 5%:
  308. drop 1 coal block
  309. if {tnt.%player%} is true:
  310. chance of 3%:
  311. drop 1 tnt
  312. if {biblio.%player%} is true:
  313. chance of 2%:
  314. drop 1 bookshelf
  315. if {jablka.%player%} is true:
  316. chance of 2.5%:
  317. drop 1 apple
  318. if {perly.%player%} is true:
  319. chance of 3%:
  320. drop 1 ender pearl
  321. if {paje.%player%} is true:
  322. chance of 2%:
  323. drop 1 string
  324.  
  325. #Wylaczanie dropu cobla
  326. on mine stone or cobblestone:
  327. if {cobble.%player%} is true:
  328. drop 1 cobblestone
  329. on mine of stone or cobblestone:
  330. cancel event
  331. set block to air
Advertisement
Add Comment
Please, Sign In to add comment