Guest User

Untitled

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