Guest User

Untitled

a guest
Jun 25th, 2015
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.88 KB | None | 0 0
  1. #------------------------GOCASE Alpha-------------------------#
  2. #---Zakazuje publicznego udostępniania oraz zarabianiu na ----#
  3. #zedytowanym kodzie poniżej (równoznaczne ze -----------------#
  4. #-----------------------------------złamaniem praw autorskich)#
  5. #---Zezwalam na edycje wiadomości i kodu na potrzeby własne---#
  6. #------------------------GOCASE Alpha-------------------------#
  7. command /case [<text>] [<text>] [<text>] [<player>]:
  8. permission: GOCASE.admin
  9. permission message: &6** &c&lNie znaleziono komendy!
  10. trigger:
  11. if arg 1 isn't set:
  12. send "&6------------&5GOCASE &AADMINPANEL&6---------------" to player
  13. send "&6/case - &bglowna komenda"
  14. send "&6/case create <nazwa> [<Tu dajesz czy nie potrzebuje klucza (false)>] - &btworzysz case'a"
  15. send "&6/case remove <nazwa> - &busuwasz case'a"
  16. send "&6/case list - &blista case'ow"
  17. send "&6/case edit <nazwa> - &bedytujesz case'a"
  18. send "&6/case give <case/key> <nazwa skrzynki> <gracz> -&bdajesz skrzynke/klucz graczowi"
  19. send "&6/casereload - &b przeladowywujesz skrypt"
  20. send "&6------------&5GOCASE &AADMINPANEL&6---------------"
  21. stop
  22. if arg 1 is "create":
  23. if executor is console:
  24. send "[&6GOCASE&R] Ta komenda jest dostepna tylko w grze!" to console
  25. stop
  26. if arg 2 is set:
  27. if arg 3 isn't set:
  28. if {GOCASE::case.%uncoloured arg 2%} is set:
  29. send "&6**&c&lTa skrzynka juz istnieje!"
  30. stop
  31. set {GOCASE::case.%arg 2%} to uncoloured arg 2
  32. add {GOCASE::case.%arg 2%} to {GOCASE::cases::*}
  33. set {_x} to random integer between 0 and 10000
  34. set {_y} to 255
  35. set {_z} to random integer between 1 and 10000
  36. set {GOCASE::r.%player%} to location at {_x}, {_y}, {_z}
  37. set block at {GOCASE::r.%player%} to chest
  38. set block 1 meters east block at {GOCASE::r.%player%} to chest
  39. set {GOCASE::casename.%player%} to arg 2
  40. open the inventory of the block at {GOCASE::r.%player%} to the player
  41. set {GOCASE::wait.%player%} to true
  42. else if arg 3 is "false":
  43. if {GOCASE::case.%uncoloured arg 2%} is set:
  44. send "&6**&c&lTa skrzynka juz istnieje!"
  45. stop
  46. set {GOCASE::case.%arg 2%} to uncoloured arg 2
  47. set {GOASE::case.%arg 2%.key} to false
  48. add {GOCASE::case.%arg 2%} to {GOCASE::cases::*}
  49. set {_x} to random integer between 0 and 10000
  50. set {_y} to 255
  51. set {_z} to random integer between 1 and 10000
  52. set {GOCASE::r.%player%} to location at {_x}, {_y}, {_z}
  53. set block at {GOCASE::r.%player%} to chest
  54. set block 1 meters east block at {GOCASE::r.%player%} to chest
  55. set {GOCASE::casename.%player%} to arg 2
  56. open the inventory of the block at {GOCASE::r.%player%} to the player
  57. set {GOCASE::wait.%player%} to true
  58. stop
  59. else:
  60. send "&6**&c&lZle podane argumenty! ( Poprawnie /case create <nazwa>)"
  61. stop
  62. if arg 1 is "remove":
  63. if executor is not player:
  64. send "[&6GOCASE&R] Ta komenda jest dostepna tylko w grze!" to executor
  65. stop
  66. if arg 2 is set:
  67. if arg 3 isn't set:
  68. if {GOCASE::case.%arg 2%} is set:
  69. remove {GOCASE::case.%arg 2%} from {GOCASE::cases::*}
  70. delete {GOCASE::case.%arg 2%::*}
  71. delete {GOCASE::case.%arg 2%}
  72. send "&6**&c&l SKrzynka usunieta pomyslnie!"
  73. stop
  74. else:
  75. send "&6**&l&cNie ma takiej skrzynki!"
  76. stop
  77. else:
  78. send "&6**&c&lZle podane argumenty! ( Poprawnie /case remove <nazwa>)"
  79. stop
  80. else:
  81. send "&6**&c&lZle podane argumenty! ( Poprawnie /case remove <nazwa>)"
  82. stop
  83. if arg 1 is "list":
  84. if arg 2 is not set:
  85. if arg 3 is not set:
  86. set {_num} to 0
  87. open chest with 6 rows named "&6&l** &2&lLISTA SKRZYNEK" to player
  88. loop {GOCASE::cases::*}:
  89. wait 2 ticks
  90. format slot {_num} of player with 1 of chest named "&5SKRZYNKA %loop-value%" to close then run "caseilist %player% %loop-value%"
  91. add 1 to {_num}
  92. stop
  93. else:
  94. send "&6**&c&lZle podane argumenty! ( Poprawnie /case list)"
  95. stop
  96. else:
  97. send "&6**&c&lZle podane argumenty! ( Poprawnie /case list)"
  98. stop
  99. if arg 1 is "give":
  100. if arg 2 is "case":
  101. if arg 3 is set:
  102. if arg 4 is set:
  103. if {GOCASE::case.%arg 3%} is set:
  104. give chest named "&5Skrzynka %arg 3%" to arg 4
  105. send "&6**&c&lDano skrzynke graczowi &6&l%arg 4%&c&l!"
  106. stop
  107. else:
  108. send "&6**&l&cNie ma takiej skrzynki!"
  109. stop
  110. else:
  111. send "&6**&c&lZle podane argumenty! ( Poprawnie /case give <case/key> <nazwa skrzynki> <gracz>)"
  112. stop
  113. else:
  114. send "&6**&c&lZle podane argumenty! ( Poprawnie /case give <case/key> <nazwa skrzynki> <gracz>)"
  115. stop
  116. if arg 2 is "key":
  117. if arg 3 is set:
  118. if arg 4 is set:
  119. if {GOCASE::case.%arg 3%} is set:
  120. give Tripwire Hook named "&5Klucz do skrzynki %arg 3%" to arg 4
  121. send "&6**&c&lDano klucz graczowi &6&l%arg 4%&c&l!"
  122. else:
  123. send "&6**&l&cNie ma takiej skrzynki!"
  124. stop
  125. else:
  126. send "&6**&c&lZle podane argumenty! ( Poprawnie /case give <case/key> <nazwa skrzynki> <gracz>)"
  127. stop
  128. else:
  129. send "&6**&c&lZle podane argumenty! ( Poprawnie /case give <case/key> <nazwa skrzynki> <gracz>)"
  130. stop
  131. else:
  132. send "&6**&c&lZle podane argumenty! ( Poprawnie /case give <case/key> <nazwa skrzynki> <gracz>)"
  133. stop
  134. if arg 1 is "edit":
  135. if executor is console:
  136. send "[&6GOCASE&R] Ta komenda jest dostepna tylko w grze!" to console
  137. stop
  138. if arg 2 is set:
  139. if arg 3 is not set:
  140. if {GOCASE::case.%arg 2%} is set:
  141. set {_x} to random integer between 0 and 10000
  142. set {_y} to 255
  143. set {_z} to random integer between 1 and 10000
  144. set {GOCASE::r.%player%} to location at {_x}, {_y}, {_z}
  145. set block at {GOCASE::r.%player%} to chest
  146. set block 1 meters east block at {GOCASE::r.%player%} to chest
  147. set {GOCASE::casename.%player%} to arg 2
  148. loop {GOCASE::case.%arg 2%::*}:
  149. add loop-value to inventory of the block at {GOCASE::r.%player%}
  150. open the inventory of the block at {GOCASE::r.%player%} to the player
  151. set {GOCASE::wait.%player%} to true
  152. clear {GOCASE::case.%arg 2%::*}
  153. else:
  154. send "&6**&l&cNie ma takiej skrzynki!"
  155. stop
  156. else:
  157. send "&6**&c&lZle podane argumenty! ( Poprawnie /case edit <nazwa skrzynki> )"
  158. stop
  159. else:
  160. send "&6**&c&lZle podane argumenty! ( Poprawnie /case edit <nazwa skrzynki>)"
  161. stop
  162. #------------------------------OSTRZEŻENIE!------------------------------------#
  163. #UWAGA!! TO JEST BARDZO ZBUGOWANE! RAZ ZADZIALA, RAZ NIE! NIE RADZE TEGO ROBIC!#
  164.  
  165. if arg 1 is "rare":
  166. if executor is console:
  167. send "[&6GOCASE&R] Ta komenda jest dostepna tylko w grze!" to console
  168. stop
  169. if arg 2 is "add":
  170. if player's tool is not air:
  171. if {GOCASE::rare::*} contains player's tool:
  172. send "&6**&c&lTen itemek jest juz na liscie!"
  173. stop
  174. add player's tool to {GOCASE::rare::*}
  175. send "&6**&C&LDodano do listy!"
  176. stop
  177. else:
  178. send "&6**&C&LNieprawidlowy przedmiot!"
  179. stop
  180. if arg 2 is "remove":
  181. if player's tool is not air:
  182. if {GOCASE::rare::*} contains player's tool:
  183. remove player's tool from {GOCASE::rare::*}
  184. send "&6**&C&LUsunieto z listy!"
  185. stop
  186. send "&6**&C&LNa liscie nie ma takiego itemku!"
  187. stop
  188. else:
  189. send "&6**&C&LNieprawidlowy przedmiot!"
  190. stop
  191. #------------------------------OSTRZEŻENIE!------------------------------------#
  192.  
  193. #Komenda dla graczy bez permisji#
  194. command /caselist:
  195. trigger:
  196. open chest with 6 rows named "&6&l** &2&lLISTA SKRZYNEK" to player
  197. set {_num} to 0
  198. loop {GOCASE::cases::*}:
  199. wait 2 ticks
  200. format slot {_num} of player with 1 of chest named "&5SKRZYNKA %loop-value%" to close then run "caseilist %player% %loop-value%"
  201. add 1 to {_num}
  202. #Komenda dla graczy
  203. command /caseinf:
  204. trigger:
  205. send "&6------------&5GOCASE&6---------------" to player
  206. send "&6**&c&lLista komend:"
  207. send "&6/caselist - &blista case'ow"
  208. send "&6/casesimulator <nazwa skrzynki> -&b symulujesz dana skrzynke!"
  209. send "&6------------&5GOCASEL&6---------------"
  210. stop
  211. #Wyswietlanie listy przedmiotow w skrzynce#
  212. command /caseilist <player> <text>:
  213. executable by: console
  214. trigger:
  215. wait 2 ticks
  216. set {_num} to 0
  217. open chest with 6 rows named "LISTA ITEMKOW" to arg 1
  218. set {_pl} to arg 1
  219. wait 2 ticks
  220. loop {GOCASE::case.%uncoloured arg 2%::*}:
  221. format slot {_num} of {_pl} with 1 of loop-value to close
  222. add 1 to {_num}
  223. #Komenda na reload skryptu, taka dupna trochę, ale...#
  224. command /casereload:
  225. permission: gocase.admin
  226. trigger:
  227. console command "sk reload gocase"
  228. #Komenda pomagajaca zrobienie itemku np. Battle Scarred#
  229. command /damagei <number>:
  230. trigger:
  231. if player has permission "damage.i":
  232. if executor is player:
  233. if player's tool is not air:
  234. damage player's tool by arg
  235. ELSE:
  236. send "&cNieprawidlowy przedmiot!"
  237. stop
  238. else:
  239. send "[&6GOCASE&R]Ta komenda moze byc wykonywana tylko w grze!"
  240. #Zmiana nazwy itemku#
  241. command /itemrename [<text>]:
  242. permission: item.rename
  243. trigger:
  244. if command executor is console:
  245. send "[&6GOCASE&R]Ta komenda moze byc wykonywana tylko w grze!" to executor
  246. stop
  247. if arg 1 is set:
  248. if player's tool is not air:
  249. set name of player's tool to coloured arg 1
  250. send "&6**&c&lNazwa itemku zmieniona!"
  251. stop
  252. else:
  253. send "&6**&c&lNieprawidlowy przedmiot!"
  254. stop
  255. else:
  256. send "&6**&c&lPodaj nowa nazwe przedmiotu!"
  257. stop
  258. #Zmiana opisu itemku#
  259. command /itemlore [<text>]:
  260. permission: item.rename
  261. trigger:
  262. if command executor is console:
  263. send "[&6GOCASE&R]Ta komenda moze byc wykonywana tylko w grze!" to executor
  264. stop
  265. if arg 1 is set:
  266. if player's tool is not air:
  267. set lore of player's tool to coloured arg 1
  268. send "&6**&c&lOpis itemku zmieniona!"
  269. stop
  270. else:
  271. send "&6**&c&lNieprawidlowy przedmiot!"
  272. stop
  273. else:
  274. send "&6**&c&lPodaj nowy opis przedmiotu!"
  275. stop
  276. on load:
  277. send "[&6GOCASE&r] Laduje..." to console
  278. send "[&6GOCASE&r] Skrypt gotowy do uzycia! Enjoy! //febbe" to console
  279. broadcast "&6**&c&lSkrypt na skrzynki zostal przeladowany!"
  280. on unload:
  281. send "[&6GOCASE&r] Wylaczam..." to console
  282. send "[&6GOCASE&r] Dziekuje za korzystanie! //febbe" to console
  283. broadcast "&6**&c&lSkrypt na skrzynki zostal wylaczony!"
  284. on inventory close:
  285. if {GOCASE::wait.%player%} is true:
  286. loop all items in inventory of the block at {GOCASE::r.%player%}:
  287. if loop-item is not air:
  288. add loop-item to {GOCASE::case.%{GOCASE::casename.%player%}%::*}
  289. send "&6** &C&LSkrzynka %{GOCASE::casename.%player%}% zostala utworzona/zedytowana!"
  290. delete {GOCASE::wait.%player%}
  291. delete {GOCASE::casename.%player%}
  292. set block at {GOCASE::r.%player%} to air
  293. set block 1 meters east block at {GOCASE::r.%player%} to air
  294. delete {GOCASE::r.%player%}
  295. stop
  296. if {GOCASE::wait4.%player%} is true:
  297. wait 2 ticks
  298. open chest with 3 rows named "&6&l** &a&lSKRZYNKA %{GOCASE::casename.%player%}%" to player
  299. format slot 0 of player with 1 of Black Stained Glass Pane to close
  300. format slot 1 of player with 1 of Black Stained Glass Pane to close
  301. format slot 2 of player with 1 of Black Stained Glass Pane to close
  302. format slot 3 of player with 1 of Black Stained Glass Pane to close
  303. format slot 5 of player with 1 of Black Stained Glass Pane to close
  304. format slot 6 of player with 1 of Black Stained Glass Pane to close
  305. format slot 7 of player with 1 of Black Stained Glass Pane to close
  306. format slot 8 of player with 1 of Black Stained Glass Pane to close
  307. format slot 18 of player with 1 of Black Stained Glass Pane to close
  308. format slot 19 of player with 1 of Black Stained Glass Pane to close
  309. format slot 20 of player with 1 of Black Stained Glass Pane to close
  310. format slot 21 of player with 1 of Black Stained Glass Pane to close
  311. format slot 23 of player with 1 of Black Stained Glass Pane to close
  312. format slot 24 of player with 1 of Black Stained Glass Pane to close
  313. format slot 25 of player with 1 of Black Stained Glass Pane to close
  314. format slot 26 of player with 1 of Black Stained Glass Pane to close
  315. format slot 4 of player with 1 of Powered Rail to close
  316. format slot 22 of player with 1 of Powered Rail to close
  317. stop
  318. on rightclick:
  319. loop {GOCASE::cases::*}:
  320. if name of player's tool is "&5Skrzynka %loop-value%" or "&5Klucz do skrzynki %loop-value%":
  321. cancel event
  322. if name of player's tool is "&5Skrzynka %loop-value%" or "&5Klucz do skrzynki %loop-value%":
  323. cancel event
  324. if name of player's tool is "&5Skrzynka %loop-value%":
  325. if {GOASE::case.%loop-value%.key} is false:
  326. remove chest named "&5Skrzynka %loop-value%" from player's tool
  327. send "&6**&c&l Za 15 sekund nastapi otwarcie, radzimy abys przeteleportowal sie w bezpieczne miejsce!"
  328. wait 10 seconds
  329. send "&6**&c&l5"
  330. wait 1 second
  331. send "&6**&c&l4"
  332. wait 1 second
  333. send "&6**&c&l3"
  334. wait 1 second
  335. send "&6**&c&l2"
  336. wait 1 second
  337. send "&6**&c&l1"
  338. wait 1 second
  339. broadcast "&6**&c&lGracz &5&l%player%&c&l, otworzyl skrzynke %loop-value%"
  340. open chest with 3 rows named "&6&l** &a&lSKRZYNKA %loop-value%" to player
  341. SET {GOCASE::casename.%player%} to loop-value
  342. SET {GOCASE::wait4.%player%} to true
  343. wait 2 tick
  344. format slot 0 of player with 1 of Black Stained Glass Pane to close
  345. format slot 1 of player with 1 of Black Stained Glass Pane to close
  346. format slot 2 of player with 1 of Black Stained Glass Pane to close
  347. format slot 3 of player with 1 of Black Stained Glass Pane to close
  348. format slot 5 of player with 1 of Black Stained Glass Pane to close
  349. format slot 6 of player with 1 of Black Stained Glass Pane to close
  350. format slot 7 of player with 1 of Black Stained Glass Pane to close
  351. format slot 8 of player with 1 of Black Stained Glass Pane to close
  352. format slot 18 of player with 1 of Black Stained Glass Pane to close
  353. format slot 19 of player with 1 of Black Stained Glass Pane to close
  354. format slot 20 of player with 1 of Black Stained Glass Pane to close
  355. format slot 21 of player with 1 of Black Stained Glass Pane to close
  356. format slot 23 of player with 1 of Black Stained Glass Pane to close
  357. format slot 24 of player with 1 of Black Stained Glass Pane to close
  358. format slot 25 of player with 1 of Black Stained Glass Pane to close
  359. format slot 26 of player with 1 of Black Stained Glass Pane to close
  360. format slot 4 of player with 1 of Powered Rail to close
  361. format slot 22 of player with 1 of Powered Rail to close
  362. set {GOCASE::%player%.1} to random element out of {GOCASE::case.%loop-value%::*}
  363. format slot 9 of player with 1 of {GOCASE::%player%.1} to close
  364. set {GOCASE::%player%.2} to random element out of {GOCASE::case.%loop-value%::*}
  365. format slot 10 of player with 1 of {GOCASE::%player%.2} to close
  366. set {GOCASE::%player%.3} to random element out of {GOCASE::case.%loop-value%::*}
  367. format slot 11 of player with 1 of {GOCASE::%player%.3} to close
  368. set {GOCASE::%player%.4} to random element out of {GOCASE::case.%loop-value%::*}
  369. format slot 12 of player with 1 of {GOCASE::%player%.4} to close
  370. set {GOCASE::%player%.5} to random element out of {GOCASE::case.%loop-value%::*}
  371. format slot 13 of player with 1 of {GOCASE::%player%.5} to close
  372. set {GOCASE::%player%.6} to random element out of {GOCASE::case.%loop-value%::*}
  373. format slot 14 of player with 1 of {GOCASE::%player%.6} to close
  374. set {GOCASE::%player%.7} to random element out of {GOCASE::case.%loop-value%::*}
  375. format slot 15 of player with 1 of {GOCASE::%player%.7} to close
  376. set {GOCASE::%player%.8} to random element out of {GOCASE::case.%loop-value%::*}
  377. format slot 16 of player with 1 of {GOCASE::%player%.8} to close
  378. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  379. format slot 17 of player with 1 of {GOCASE::%player%.9} to close
  380. loop 25 times:
  381. if loop-number is 1:
  382. format slot 0 of player with 1 of Purple Stained Glass Pane to close
  383. format slot 26 of player with 1 of Purple Stained Glass Pane to close
  384. format slot 1 of player with 1 of Black Stained Glass Pane to close
  385. format slot 2 of player with 1 of Black Stained Glass Pane to close
  386. format slot 3 of player with 1 of Black Stained Glass Pane to close
  387. format slot 5 of player with 1 of Black Stained Glass Pane to close
  388. format slot 6 of player with 1 of Black Stained Glass Pane to close
  389. format slot 7 of player with 1 of Black Stained Glass Pane to close
  390. format slot 8 of player with 1 of Black Stained Glass Pane to close
  391. format slot 19 of player with 1 of Black Stained Glass Pane to close
  392. format slot 20 of player with 1 of Black Stained Glass Pane to close
  393. format slot 21 of player with 1 of Black Stained Glass Pane to close
  394. format slot 23 of player with 1 of Black Stained Glass Pane to close
  395. format slot 24 of player with 1 of Black Stained Glass Pane to close
  396. format slot 25 of player with 1 of Black Stained Glass Pane to close
  397. format slot 18 of player with 1 of Black Stained Glass Pane to close
  398. if loop-number is 2:
  399. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  400. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  401. format slot 0 of player with 1 of Black Stained Glass Pane to close
  402. format slot 2 of player with 1 of Black Stained Glass Pane to close
  403. format slot 3 of player with 1 of Black Stained Glass Pane to close
  404. format slot 5 of player with 1 of Black Stained Glass Pane to close
  405. format slot 6 of player with 1 of Black Stained Glass Pane to close
  406. format slot 7 of player with 1 of Black Stained Glass Pane to close
  407. format slot 8 of player with 1 of Black Stained Glass Pane to close
  408. format slot 18 of player with 1 of Black Stained Glass Pane to close
  409. format slot 20 of player with 1 of Black Stained Glass Pane to close
  410. format slot 21 of player with 1 of Black Stained Glass Pane to close
  411. format slot 23 of player with 1 of Black Stained Glass Pane to close
  412. format slot 24 of player with 1 of Black Stained Glass Pane to close
  413. format slot 19 of player with 1 of Black Stained Glass Pane to close
  414. format slot 26 of player with 1 of Black Stained Glass Pane to close
  415. if loop-number is 3:
  416. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  417. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  418. format slot 0 of player with 1 of Black Stained Glass Pane to close
  419. format slot 1 of player with 1 of Black Stained Glass Pane to close
  420. format slot 3 of player with 1 of Black Stained Glass Pane to close
  421. format slot 5 of player with 1 of Black Stained Glass Pane to close
  422. format slot 6 of player with 1 of Black Stained Glass Pane to close
  423. format slot 7 of player with 1 of Black Stained Glass Pane to close
  424. format slot 8 of player with 1 of Black Stained Glass Pane to close
  425. format slot 18 of player with 1 of Black Stained Glass Pane to close
  426. format slot 19 of player with 1 of Black Stained Glass Pane to close
  427. format slot 21 of player with 1 of Black Stained Glass Pane to close
  428. format slot 23 of player with 1 of Black Stained Glass Pane to close
  429. format slot 20 of player with 1 of Black Stained Glass Pane to close
  430. format slot 25 of player with 1 of Black Stained Glass Pane to close
  431. format slot 26 of player with 1 of Black Stained Glass Pane to close
  432. if loop-number is 4:
  433. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  434. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  435. format slot 0 of player with 1 of Black Stained Glass Pane to close
  436. format slot 1 of player with 1 of Black Stained Glass Pane to close
  437. format slot 2 of player with 1 of Black Stained Glass Pane to close
  438. format slot 5 of player with 1 of Black Stained Glass Pane to close
  439. format slot 6 of player with 1 of Black Stained Glass Pane to close
  440. format slot 7 of player with 1 of Black Stained Glass Pane to close
  441. format slot 8 of player with 1 of Black Stained Glass Pane to close
  442. format slot 18 of player with 1 of Black Stained Glass Pane to close
  443. format slot 19 of player with 1 of Black Stained Glass Pane to close
  444. format slot 20 of player with 1 of Black Stained Glass Pane to close
  445. format slot 21 of player with 1 of Black Stained Glass Pane to close
  446. format slot 24 of player with 1 of Black Stained Glass Pane to close
  447. format slot 25 of player with 1 of Black Stained Glass Pane to close
  448. format slot 26 of player with 1 of Black Stained Glass Pane to close
  449. if loop-number is 5:
  450. format slot 0 of player with 1 of Black Stained Glass Pane to close
  451. format slot 1 of player with 1 of Black Stained Glass Pane to close
  452. format slot 2 of player with 1 of Black Stained Glass Pane to close
  453. format slot 3 of player with 1 of Black Stained Glass Pane to close
  454. format slot 5 of player with 1 of Black Stained Glass Pane to close
  455. format slot 6 of player with 1 of Black Stained Glass Pane to close
  456. format slot 7 of player with 1 of Black Stained Glass Pane to close
  457. format slot 8 of player with 1 of Black Stained Glass Pane to close
  458. format slot 18 of player with 1 of Black Stained Glass Pane to close
  459. format slot 19 of player with 1 of Black Stained Glass Pane to close
  460. format slot 20 of player with 1 of Black Stained Glass Pane to close
  461. format slot 21 of player with 1 of Black Stained Glass Pane to close
  462. format slot 23 of player with 1 of Black Stained Glass Pane to close
  463. format slot 24 of player with 1 of Black Stained Glass Pane to close
  464. format slot 25 of player with 1 of Black Stained Glass Pane to close
  465. format slot 26 of player with 1 of Black Stained Glass Pane to close
  466. if loop-number is 6:
  467. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  468. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  469. format slot 0 of player with 1 of Black Stained Glass Pane to close
  470. format slot 1 of player with 1 of Black Stained Glass Pane to close
  471. format slot 2 of player with 1 of Black Stained Glass Pane to close
  472. format slot 3 of player with 1 of Black Stained Glass Pane to close
  473. format slot 6 of player with 1 of Black Stained Glass Pane to close
  474. format slot 7 of player with 1 of Black Stained Glass Pane to close
  475. format slot 8 of player with 1 of Black Stained Glass Pane to close
  476. format slot 18 of player with 1 of Black Stained Glass Pane to close
  477. format slot 19 of player with 1 of Black Stained Glass Pane to close
  478. format slot 20 of player with 1 of Black Stained Glass Pane to close
  479. format slot 23 of player with 1 of Black Stained Glass Pane to close
  480. format slot 24 of player with 1 of Black Stained Glass Pane to close
  481. format slot 25 of player with 1 of Black Stained Glass Pane to close
  482. format slot 26 of player with 1 of Black Stained Glass Pane to close
  483. if loop-number is 7:
  484. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  485. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  486. format slot 0 of player with 1 of Black Stained Glass Pane to close
  487. format slot 1 of player with 1 of Black Stained Glass Pane to close
  488. format slot 2 of player with 1 of Black Stained Glass Pane to close
  489. format slot 3 of player with 1 of Black Stained Glass Pane to close
  490. format slot 5 of player with 1 of Black Stained Glass Pane to close
  491. format slot 7 of player with 1 of Black Stained Glass Pane to close
  492. format slot 8 of player with 1 of Black Stained Glass Pane to close
  493. format slot 18 of player with 1 of Black Stained Glass Pane to close
  494. format slot 19 of player with 1 of Black Stained Glass Pane to close
  495. format slot 24 of player with 1 of Black Stained Glass Pane to close
  496. format slot 21 of player with 1 of Black Stained Glass Pane to close
  497. format slot 23 of player with 1 of Black Stained Glass Pane to close
  498. format slot 25 of player with 1 of Black Stained Glass Pane to close
  499. format slot 26 of player with 1 of Black Stained Glass Pane to close
  500. if loop-number is 8:
  501. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  502. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  503. format slot 0 of player with 1 of Black Stained Glass Pane to close
  504. format slot 1 of player with 1 of Black Stained Glass Pane to close
  505. format slot 2 of player with 1 of Black Stained Glass Pane to close
  506. format slot 3 of player with 1 of Black Stained Glass Pane to close
  507. format slot 5 of player with 1 of Black Stained Glass Pane to close
  508. format slot 6 of player with 1 of Black Stained Glass Pane to close
  509. format slot 8 of player with 1 of Black Stained Glass Pane to close
  510. format slot 18 of player with 1 of Black Stained Glass Pane to close
  511. format slot 25 of player with 1 of Black Stained Glass Pane to close
  512. format slot 20 of player with 1 of Black Stained Glass Pane to close
  513. format slot 21 of player with 1 of Black Stained Glass Pane to close
  514. format slot 23 of player with 1 of Black Stained Glass Pane to close
  515. format slot 24 of player with 1 of Black Stained Glass Pane to close
  516. format slot 26 of player with 1 of Black Stained Glass Pane to close
  517. if loop-number is 9:
  518. format slot 8 of player with 1 of Purple Stained Glass Pane to close
  519. format slot 18 of player with 1 of Purple Stained Glass Pane to close
  520. format slot 0 of player with 1 of Black Stained Glass Pane to close
  521. format slot 1 of player with 1 of Black Stained Glass Pane to close
  522. format slot 2 of player with 1 of Black Stained Glass Pane to close
  523. format slot 3 of player with 1 of Black Stained Glass Pane to close
  524. format slot 5 of player with 1 of Black Stained Glass Pane to close
  525. format slot 6 of player with 1 of Black Stained Glass Pane to close
  526. format slot 7 of player with 1 of Black Stained Glass Pane to close
  527. format slot 25 of player with 1 of Black Stained Glass Pane to close
  528. format slot 19 of player with 1 of Black Stained Glass Pane to close
  529. format slot 20 of player with 1 of Black Stained Glass Pane to close
  530. format slot 21 of player with 1 of Black Stained Glass Pane to close
  531. format slot 23 of player with 1 of Black Stained Glass Pane to close
  532. format slot 24 of player with 1 of Black Stained Glass Pane to close
  533. format slot 26 of player with 1 of Black Stained Glass Pane to close
  534. if loop-number is 10:
  535. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  536. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  537. format slot 0 of player with 1 of Black Stained Glass Pane to close
  538. format slot 1 of player with 1 of Black Stained Glass Pane to close
  539. format slot 2 of player with 1 of Black Stained Glass Pane to close
  540. format slot 3 of player with 1 of Black Stained Glass Pane to close
  541. format slot 5 of player with 1 of Black Stained Glass Pane to close
  542. format slot 6 of player with 1 of Black Stained Glass Pane to close
  543. format slot 8 of player with 1 of Black Stained Glass Pane to close
  544. format slot 18 of player with 1 of Black Stained Glass Pane to close
  545. format slot 25 of player with 1 of Black Stained Glass Pane to close
  546. format slot 20 of player with 1 of Black Stained Glass Pane to close
  547. format slot 21 of player with 1 of Black Stained Glass Pane to close
  548. format slot 23 of player with 1 of Black Stained Glass Pane to close
  549. format slot 24 of player with 1 of Black Stained Glass Pane to close
  550. format slot 26 of player with 1 of Black Stained Glass Pane to close
  551. if loop-number is 11:
  552. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  553. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  554. format slot 0 of player with 1 of Black Stained Glass Pane to close
  555. format slot 1 of player with 1 of Black Stained Glass Pane to close
  556. format slot 2 of player with 1 of Black Stained Glass Pane to close
  557. format slot 3 of player with 1 of Black Stained Glass Pane to close
  558. format slot 5 of player with 1 of Black Stained Glass Pane to close
  559. format slot 7 of player with 1 of Black Stained Glass Pane to close
  560. format slot 8 of player with 1 of Black Stained Glass Pane to close
  561. format slot 18 of player with 1 of Black Stained Glass Pane to close
  562. format slot 19 of player with 1 of Black Stained Glass Pane to close
  563. format slot 24 of player with 1 of Black Stained Glass Pane to close
  564. format slot 21 of player with 1 of Black Stained Glass Pane to close
  565. format slot 23 of player with 1 of Black Stained Glass Pane to close
  566. format slot 25 of player with 1 of Black Stained Glass Pane to close
  567. format slot 26 of player with 1 of Black Stained Glass Pane to close
  568. if loop-number is 12:
  569. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  570. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  571. format slot 0 of player with 1 of Black Stained Glass Pane to close
  572. format slot 1 of player with 1 of Black Stained Glass Pane to close
  573. format slot 2 of player with 1 of Black Stained Glass Pane to close
  574. format slot 3 of player with 1 of Black Stained Glass Pane to close
  575. format slot 6 of player with 1 of Black Stained Glass Pane to close
  576. format slot 7 of player with 1 of Black Stained Glass Pane to close
  577. format slot 8 of player with 1 of Black Stained Glass Pane to close
  578. format slot 18 of player with 1 of Black Stained Glass Pane to close
  579. format slot 19 of player with 1 of Black Stained Glass Pane to close
  580. format slot 20 of player with 1 of Black Stained Glass Pane to close
  581. format slot 23 of player with 1 of Black Stained Glass Pane to close
  582. format slot 24 of player with 1 of Black Stained Glass Pane to close
  583. format slot 25 of player with 1 of Black Stained Glass Pane to close
  584. format slot 26 of player with 1 of Black Stained Glass Pane to close
  585. if loop-number is 13:
  586. format slot 0 of player with 1 of Black Stained Glass Pane to close
  587. format slot 1 of player with 1 of Black Stained Glass Pane to close
  588. format slot 2 of player with 1 of Black Stained Glass Pane to close
  589. format slot 3 of player with 1 of Black Stained Glass Pane to close
  590. format slot 5 of player with 1 of Black Stained Glass Pane to close
  591. format slot 6 of player with 1 of Black Stained Glass Pane to close
  592. format slot 7 of player with 1 of Black Stained Glass Pane to close
  593. format slot 8 of player with 1 of Black Stained Glass Pane to close
  594. format slot 18 of player with 1 of Black Stained Glass Pane to close
  595. format slot 19 of player with 1 of Black Stained Glass Pane to close
  596. format slot 20 of player with 1 of Black Stained Glass Pane to close
  597. format slot 21 of player with 1 of Black Stained Glass Pane to close
  598. format slot 23 of player with 1 of Black Stained Glass Pane to close
  599. format slot 24 of player with 1 of Black Stained Glass Pane to close
  600. format slot 25 of player with 1 of Black Stained Glass Pane to close
  601. format slot 26 of player with 1 of Black Stained Glass Pane to close
  602. if loop-number is 14:
  603. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  604. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  605. format slot 0 of player with 1 of Black Stained Glass Pane to close
  606. format slot 1 of player with 1 of Black Stained Glass Pane to close
  607. format slot 2 of player with 1 of Black Stained Glass Pane to close
  608. format slot 5 of player with 1 of Black Stained Glass Pane to close
  609. format slot 6 of player with 1 of Black Stained Glass Pane to close
  610. format slot 7 of player with 1 of Black Stained Glass Pane to close
  611. format slot 8 of player with 1 of Black Stained Glass Pane to close
  612. format slot 18 of player with 1 of Black Stained Glass Pane to close
  613. format slot 19 of player with 1 of Black Stained Glass Pane to close
  614. format slot 20 of player with 1 of Black Stained Glass Pane to close
  615. format slot 21 of player with 1 of Black Stained Glass Pane to close
  616. format slot 24 of player with 1 of Black Stained Glass Pane to close
  617. format slot 25 of player with 1 of Black Stained Glass Pane to close
  618. if loop-number is 15:
  619. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  620. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  621. format slot 0 of player with 1 of Black Stained Glass Pane to close
  622. format slot 1 of player with 1 of Black Stained Glass Pane to close
  623. format slot 3 of player with 1 of Black Stained Glass Pane to close
  624. format slot 5 of player with 1 of Black Stained Glass Pane to close
  625. format slot 6 of player with 1 of Black Stained Glass Pane to close
  626. format slot 7 of player with 1 of Black Stained Glass Pane to close
  627. format slot 8 of player with 1 of Black Stained Glass Pane to close
  628. format slot 18 of player with 1 of Black Stained Glass Pane to close
  629. format slot 19 of player with 1 of Black Stained Glass Pane to close
  630. format slot 21 of player with 1 of Black Stained Glass Pane to close
  631. format slot 23 of player with 1 of Black Stained Glass Pane to close
  632. format slot 20 of player with 1 of Black Stained Glass Pane to close
  633. format slot 25 of player with 1 of Black Stained Glass Pane to close
  634. format slot 26 of player with 1 of Black Stained Glass Pane to close
  635. if loop-number is 16:
  636. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  637. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  638. format slot 0 of player with 1 of Black Stained Glass Pane to close
  639. format slot 2 of player with 1 of Black Stained Glass Pane to close
  640. format slot 3 of player with 1 of Black Stained Glass Pane to close
  641. format slot 5 of player with 1 of Black Stained Glass Pane to close
  642. format slot 6 of player with 1 of Black Stained Glass Pane to close
  643. format slot 7 of player with 1 of Black Stained Glass Pane to close
  644. format slot 8 of player with 1 of Black Stained Glass Pane to close
  645. format slot 18 of player with 1 of Black Stained Glass Pane to close
  646. format slot 20 of player with 1 of Black Stained Glass Pane to close
  647. format slot 21 of player with 1 of Black Stained Glass Pane to close
  648. format slot 23 of player with 1 of Black Stained Glass Pane to close
  649. format slot 24 of player with 1 of Black Stained Glass Pane to close
  650. format slot 19 of player with 1 of Black Stained Glass Pane to close
  651. format slot 26 of player with 1 of Black Stained Glass Pane to close
  652. if loop-number is 17:
  653. format slot 0 of player with 1 of Purple Stained Glass Pane to close
  654. format slot 26 of player with 1 of Purple Stained Glass Pane to close
  655. format slot 1 of player with 1 of Black Stained Glass Pane to close
  656. format slot 2 of player with 1 of Black Stained Glass Pane to close
  657. format slot 3 of player with 1 of Black Stained Glass Pane to close
  658. format slot 5 of player with 1 of Black Stained Glass Pane to close
  659. format slot 6 of player with 1 of Black Stained Glass Pane to close
  660. format slot 7 of player with 1 of Black Stained Glass Pane to close
  661. format slot 8 of player with 1 of Black Stained Glass Pane to close
  662. format slot 19 of player with 1 of Black Stained Glass Pane to close
  663. format slot 20 of player with 1 of Black Stained Glass Pane to close
  664. format slot 21 of player with 1 of Black Stained Glass Pane to close
  665. format slot 23 of player with 1 of Black Stained Glass Pane to close
  666. format slot 24 of player with 1 of Black Stained Glass Pane to close
  667. format slot 25 of player with 1 of Black Stained Glass Pane to close
  668. format slot 18 of player with 1 of Black Stained Glass Pane to close
  669. if loop-number is 18:
  670. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  671. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  672. format slot 0 of player with 1 of Black Stained Glass Pane to close
  673. format slot 2 of player with 1 of Black Stained Glass Pane to close
  674. format slot 3 of player with 1 of Black Stained Glass Pane to close
  675. format slot 5 of player with 1 of Black Stained Glass Pane to close
  676. format slot 6 of player with 1 of Black Stained Glass Pane to close
  677. format slot 7 of player with 1 of Black Stained Glass Pane to close
  678. format slot 8 of player with 1 of Black Stained Glass Pane to close
  679. format slot 18 of player with 1 of Black Stained Glass Pane to close
  680. format slot 20 of player with 1 of Black Stained Glass Pane to close
  681. format slot 21 of player with 1 of Black Stained Glass Pane to close
  682. format slot 23 of player with 1 of Black Stained Glass Pane to close
  683. format slot 24 of player with 1 of Black Stained Glass Pane to close
  684. format slot 19 of player with 1 of Black Stained Glass Pane to close
  685. format slot 26 of player with 1 of Black Stained Glass Pane to close
  686. if loop-number is 19:
  687. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  688. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  689. format slot 0 of player with 1 of Black Stained Glass Pane to close
  690. format slot 1 of player with 1 of Black Stained Glass Pane to close
  691. format slot 3 of player with 1 of Black Stained Glass Pane to close
  692. format slot 5 of player with 1 of Black Stained Glass Pane to close
  693. format slot 6 of player with 1 of Black Stained Glass Pane to close
  694. format slot 7 of player with 1 of Black Stained Glass Pane to close
  695. format slot 8 of player with 1 of Black Stained Glass Pane to close
  696. format slot 18 of player with 1 of Black Stained Glass Pane to close
  697. format slot 19 of player with 1 of Black Stained Glass Pane to close
  698. format slot 21 of player with 1 of Black Stained Glass Pane to close
  699. format slot 23 of player with 1 of Black Stained Glass Pane to close
  700. format slot 20 of player with 1 of Black Stained Glass Pane to close
  701. format slot 25 of player with 1 of Black Stained Glass Pane to close
  702. format slot 26 of player with 1 of Black Stained Glass Pane to close
  703. if loop-number is 20:
  704. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  705. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  706. format slot 0 of player with 1 of Black Stained Glass Pane to close
  707. format slot 1 of player with 1 of Black Stained Glass Pane to close
  708. format slot 2 of player with 1 of Black Stained Glass Pane to close
  709. format slot 5 of player with 1 of Black Stained Glass Pane to close
  710. format slot 6 of player with 1 of Black Stained Glass Pane to close
  711. format slot 7 of player with 1 of Black Stained Glass Pane to close
  712. format slot 8 of player with 1 of Black Stained Glass Pane to close
  713. format slot 18 of player with 1 of Black Stained Glass Pane to close
  714. format slot 19 of player with 1 of Black Stained Glass Pane to close
  715. format slot 20 of player with 1 of Black Stained Glass Pane to close
  716. format slot 21 of player with 1 of Black Stained Glass Pane to close
  717. format slot 24 of player with 1 of Black Stained Glass Pane to close
  718. format slot 25 of player with 1 of Black Stained Glass Pane to close
  719. if loop-number is 21:
  720. format slot 0 of player with 1 of Black Stained Glass Pane to close
  721. format slot 1 of player with 1 of Black Stained Glass Pane to close
  722. format slot 2 of player with 1 of Black Stained Glass Pane to close
  723. format slot 3 of player with 1 of Black Stained Glass Pane to close
  724. format slot 5 of player with 1 of Black Stained Glass Pane to close
  725. format slot 6 of player with 1 of Black Stained Glass Pane to close
  726. format slot 7 of player with 1 of Black Stained Glass Pane to close
  727. format slot 8 of player with 1 of Black Stained Glass Pane to close
  728. format slot 18 of player with 1 of Black Stained Glass Pane to close
  729. format slot 19 of player with 1 of Black Stained Glass Pane to close
  730. format slot 20 of player with 1 of Black Stained Glass Pane to close
  731. format slot 21 of player with 1 of Black Stained Glass Pane to close
  732. format slot 23 of player with 1 of Black Stained Glass Pane to close
  733. format slot 24 of player with 1 of Black Stained Glass Pane to close
  734. format slot 25 of player with 1 of Black Stained Glass Pane to close
  735. format slot 26 of player with 1 of Black Stained Glass Pane to close
  736. if loop-number is 22:
  737. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  738. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  739. format slot 0 of player with 1 of Black Stained Glass Pane to close
  740. format slot 1 of player with 1 of Black Stained Glass Pane to close
  741. format slot 2 of player with 1 of Black Stained Glass Pane to close
  742. format slot 3 of player with 1 of Black Stained Glass Pane to close
  743. format slot 6 of player with 1 of Black Stained Glass Pane to close
  744. format slot 7 of player with 1 of Black Stained Glass Pane to close
  745. format slot 8 of player with 1 of Black Stained Glass Pane to close
  746. format slot 18 of player with 1 of Black Stained Glass Pane to close
  747. format slot 19 of player with 1 of Black Stained Glass Pane to close
  748. format slot 20 of player with 1 of Black Stained Glass Pane to close
  749. format slot 23 of player with 1 of Black Stained Glass Pane to close
  750. format slot 24 of player with 1 of Black Stained Glass Pane to close
  751. format slot 25 of player with 1 of Black Stained Glass Pane to close
  752. format slot 26 of player with 1 of Black Stained Glass Pane to close
  753. if loop-number is 23:
  754. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  755. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  756. format slot 0 of player with 1 of Black Stained Glass Pane to close
  757. format slot 1 of player with 1 of Black Stained Glass Pane to close
  758. format slot 2 of player with 1 of Black Stained Glass Pane to close
  759. format slot 3 of player with 1 of Black Stained Glass Pane to close
  760. format slot 5 of player with 1 of Black Stained Glass Pane to close
  761. format slot 7 of player with 1 of Black Stained Glass Pane to close
  762. format slot 8 of player with 1 of Black Stained Glass Pane to close
  763. format slot 18 of player with 1 of Black Stained Glass Pane to close
  764. format slot 19 of player with 1 of Black Stained Glass Pane to close
  765. format slot 24 of player with 1 of Black Stained Glass Pane to close
  766. format slot 21 of player with 1 of Black Stained Glass Pane to close
  767. format slot 23 of player with 1 of Black Stained Glass Pane to close
  768. format slot 25 of player with 1 of Black Stained Glass Pane to close
  769. format slot 26 of player with 1 of Black Stained Glass Pane to close
  770. if loop-number is 24:
  771. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  772. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  773. format slot 0 of player with 1 of Black Stained Glass Pane to close
  774. format slot 1 of player with 1 of Black Stained Glass Pane to close
  775. format slot 2 of player with 1 of Black Stained Glass Pane to close
  776. format slot 3 of player with 1 of Black Stained Glass Pane to close
  777. format slot 5 of player with 1 of Black Stained Glass Pane to close
  778. format slot 6 of player with 1 of Black Stained Glass Pane to close
  779. format slot 8 of player with 1 of Black Stained Glass Pane to close
  780. format slot 18 of player with 1 of Black Stained Glass Pane to close
  781. format slot 25 of player with 1 of Black Stained Glass Pane to close
  782. format slot 20 of player with 1 of Black Stained Glass Pane to close
  783. format slot 21 of player with 1 of Black Stained Glass Pane to close
  784. format slot 23 of player with 1 of Black Stained Glass Pane to close
  785. format slot 24 of player with 1 of Black Stained Glass Pane to close
  786. format slot 26 of player with 1 of Black Stained Glass Pane to close
  787. if loop-number is 25:
  788. format slot 8 of player with 1 of Purple Stained Glass Pane to close
  789. format slot 18 of player with 1 of Purple Stained Glass Pane to close
  790. format slot 0 of player with 1 of Black Stained Glass Pane to close
  791. format slot 1 of player with 1 of Black Stained Glass Pane to close
  792. format slot 2 of player with 1 of Black Stained Glass Pane to close
  793. format slot 3 of player with 1 of Black Stained Glass Pane to close
  794. format slot 5 of player with 1 of Black Stained Glass Pane to close
  795. format slot 6 of player with 1 of Black Stained Glass Pane to close
  796. format slot 7 of player with 1 of Black Stained Glass Pane to close
  797. format slot 26 of player with 1 of Black Stained Glass Pane to close
  798. format slot 19 of player with 1 of Black Stained Glass Pane to close
  799. format slot 20 of player with 1 of Black Stained Glass Pane to close
  800. format slot 21 of player with 1 of Black Stained Glass Pane to close
  801. format slot 23 of player with 1 of Black Stained Glass Pane to close
  802. format slot 24 of player with 1 of Black Stained Glass Pane to close
  803. format slot 25 of player with 1 of Black Stained Glass Pane to close
  804. set {GOCASE::%player%.1} to {GOCASE::%player%.2}
  805. format slot 9 of player with 1 of {GOCASE::%player%.1} to close
  806. set {GOCASE::%player%.2} to {GOCASE::%player%.3}
  807. format slot 10 of player with 1 of {GOCASE::%player%.2} to close
  808. set {GOCASE::%player%.3} to {GOCASE::%player%.4}
  809. format slot 11 of player with 1 of {GOCASE::%player%.3} to close
  810. set {GOCASE::%player%.4} to {GOCASE::%player%.5}
  811. format slot 12 of player with 1 of {GOCASE::%player%.4} to close
  812. set {GOCASE::%player%.5} to {GOCASE::%player%.6}
  813. format slot 13 of player with 1 of {GOCASE::%player%.5} to close
  814. set {GOCASE::%player%.6} to {GOCASE::%player%.7}
  815. format slot 14 of player with 1 of {GOCASE::%player%.6} to close
  816. set {GOCASE::%player%.7} to {GOCASE::%player%.8}
  817. format slot 15 of player with 1 of {GOCASE::%player%.7} to close
  818. set {GOCASE::%player%.8} to {GOCASE::%player%.9}
  819. format slot 16 of player with 1 of {GOCASE::%player%.8} to close
  820. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  821. #100% - 90% = 10% - szansa na wypadniecie rzadkiego itemku#
  822. if chance of 90%:
  823. if {GOCASE::rare::*} contains {GOCASE::%player%.9}:
  824. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  825. format slot 17 of player with 1 of {GOCASE::%player%.9} to close
  826. if loop-number-2 is smaller than 20:
  827. play raw sound "random.pop" at player with pitch 1.5 volume 1
  828. wait 0.3 second
  829. else if loop-number-2 is not higher than 24:
  830. play raw sound "random.pop" at player with pitch 1.5 volume 1
  831. wait 1 second
  832. else:
  833. play raw sound "random.pop" at player with pitch 1.5 volume 1
  834. wait 1.5 second
  835. play raw sound "mob.endermen.portal" at player with pitch 0.001 volume 1
  836. delete {GOCASE::wait4.%player%}
  837. close player's inventory
  838. if player can hold {GOCASE::%player%.5}:
  839. give player {GOCASE::%player%.5}
  840. else:
  841. drop {GOCASE::%player%.5}
  842. send "&6**&lPrzedmiot zostal upuszczony na ziemie!"
  843. send "&6**&c&lGratulacje, sprawdz co wygrales!"
  844. delete {GOCASE::wait4.%player%}
  845. close player's inventory
  846. delete {GOCASE::%player%.1}
  847. delete {GOCASE::%player%.2}
  848. delete {GOCASE::%player%.3}
  849. delete {GOCASE::%player%.4}
  850. delete {GOCASE::%player%.5}
  851. delete {GOCASE::%player%.6}
  852. delete {GOCASE::%player%.7}
  853. delete {GOCASE::%player%.8}
  854. delete {GOCASE::%player%.9}
  855. delete {GOCASE::casename.%player%}
  856. else:
  857. if player has Tripwire Hook named "&5Klucz do skrzynki %loop-value%":
  858. remove Tripwire Hook named "&5Klucz do skrzynki %loop-value%" from player
  859. remove chest named "&5Skrzynka %loop-value%" from player
  860. send "&6**&c&l Klucz do twojej skrzynki pasuje, za 5 sekundy nastapi jej otwrcie, radzimy abys przeteleportowal sie w bezpieczne miejsce!"
  861. send "&6**&c&l5"
  862. wait 1 second
  863. send "&6**&c&l4"
  864. wait 1 second
  865. send "&6**&c&l3"
  866. wait 1 second
  867. send "&6**&c&l2"
  868. wait 1 second
  869. send "&6**&c&l1"
  870. wait 1 second
  871. broadcast "&6**&c&lGracz &5&l%player%&c&l, otworzyl skrzynke %loop-value%"
  872. open chest with 3 rows named "&6&l** &a&lSKRZYNKA %loop-value%" to player
  873. SET {GOCASE::casename.%player%} to loop-value
  874. SET {GOCASE::wait4.%player%} to true
  875. add player to {GOCASE::waits::*}
  876. wait 2 tick
  877. format slot 0 of player with 1 of Black Stained Glass Pane to close
  878. format slot 1 of player with 1 of Black Stained Glass Pane to close
  879. format slot 2 of player with 1 of Black Stained Glass Pane to close
  880. format slot 3 of player with 1 of Black Stained Glass Pane to close
  881. format slot 5 of player with 1 of Black Stained Glass Pane to close
  882. format slot 6 of player with 1 of Black Stained Glass Pane to close
  883. format slot 7 of player with 1 of Black Stained Glass Pane to close
  884. format slot 8 of player with 1 of Black Stained Glass Pane to close
  885. format slot 18 of player with 1 of Black Stained Glass Pane to close
  886. format slot 19 of player with 1 of Black Stained Glass Pane to close
  887. format slot 20 of player with 1 of Black Stained Glass Pane to close
  888. format slot 21 of player with 1 of Black Stained Glass Pane to close
  889. format slot 23 of player with 1 of Black Stained Glass Pane to close
  890. format slot 24 of player with 1 of Black Stained Glass Pane to close
  891. format slot 25 of player with 1 of Black Stained Glass Pane to close
  892. format slot 26 of player with 1 of Black Stained Glass Pane to close
  893. format slot 4 of player with 1 of Powered Rail to close
  894. format slot 22 of player with 1 of Powered Rail to close
  895. set {GOCASE::%player%.1} to random element out of {GOCASE::case.%loop-value%::*}
  896. format slot 9 of player with 1 of {GOCASE::%player%.1} to close
  897. set {GOCASE::%player%.2} to random element out of {GOCASE::case.%loop-value%::*}
  898. format slot 10 of player with 1 of {GOCASE::%player%.2} to close
  899. set {GOCASE::%player%.3} to random element out of {GOCASE::case.%loop-value%::*}
  900. format slot 11 of player with 1 of {GOCASE::%player%.3} to close
  901. set {GOCASE::%player%.4} to random element out of {GOCASE::case.%loop-value%::*}
  902. format slot 12 of player with 1 of {GOCASE::%player%.4} to close
  903. set {GOCASE::%player%.5} to random element out of {GOCASE::case.%loop-value%::*}
  904. format slot 13 of player with 1 of {GOCASE::%player%.5} to close
  905. set {GOCASE::%player%.6} to random element out of {GOCASE::case.%loop-value%::*}
  906. format slot 14 of player with 1 of {GOCASE::%player%.6} to close
  907. set {GOCASE::%player%.7} to random element out of {GOCASE::case.%loop-value%::*}
  908. format slot 15 of player with 1 of {GOCASE::%player%.7} to close
  909. set {GOCASE::%player%.8} to random element out of {GOCASE::case.%loop-value%::*}
  910. format slot 16 of player with 1 of {GOCASE::%player%.8} to close
  911. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  912. format slot 17 of player with 1 of {GOCASE::%player%.9} to close
  913. loop 25 times:
  914. if loop-number is 1:
  915. format slot 0 of player with 1 of Purple Stained Glass Pane to close
  916. format slot 26 of player with 1 of Purple Stained Glass Pane to close
  917. format slot 1 of player with 1 of Black Stained Glass Pane to close
  918. format slot 2 of player with 1 of Black Stained Glass Pane to close
  919. format slot 3 of player with 1 of Black Stained Glass Pane to close
  920. format slot 5 of player with 1 of Black Stained Glass Pane to close
  921. format slot 6 of player with 1 of Black Stained Glass Pane to close
  922. format slot 7 of player with 1 of Black Stained Glass Pane to close
  923. format slot 8 of player with 1 of Black Stained Glass Pane to close
  924. format slot 19 of player with 1 of Black Stained Glass Pane to close
  925. format slot 20 of player with 1 of Black Stained Glass Pane to close
  926. format slot 21 of player with 1 of Black Stained Glass Pane to close
  927. format slot 23 of player with 1 of Black Stained Glass Pane to close
  928. format slot 24 of player with 1 of Black Stained Glass Pane to close
  929. format slot 25 of player with 1 of Black Stained Glass Pane to close
  930. format slot 18 of player with 1 of Black Stained Glass Pane to close
  931. if loop-number is 2:
  932. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  933. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  934. format slot 0 of player with 1 of Black Stained Glass Pane to close
  935. format slot 2 of player with 1 of Black Stained Glass Pane to close
  936. format slot 3 of player with 1 of Black Stained Glass Pane to close
  937. format slot 5 of player with 1 of Black Stained Glass Pane to close
  938. format slot 6 of player with 1 of Black Stained Glass Pane to close
  939. format slot 7 of player with 1 of Black Stained Glass Pane to close
  940. format slot 8 of player with 1 of Black Stained Glass Pane to close
  941. format slot 18 of player with 1 of Black Stained Glass Pane to close
  942. format slot 20 of player with 1 of Black Stained Glass Pane to close
  943. format slot 21 of player with 1 of Black Stained Glass Pane to close
  944. format slot 23 of player with 1 of Black Stained Glass Pane to close
  945. format slot 24 of player with 1 of Black Stained Glass Pane to close
  946. format slot 19 of player with 1 of Black Stained Glass Pane to close
  947. format slot 26 of player with 1 of Black Stained Glass Pane to close
  948. if loop-number is 3:
  949. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  950. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  951. format slot 0 of player with 1 of Black Stained Glass Pane to close
  952. format slot 1 of player with 1 of Black Stained Glass Pane to close
  953. format slot 3 of player with 1 of Black Stained Glass Pane to close
  954. format slot 5 of player with 1 of Black Stained Glass Pane to close
  955. format slot 6 of player with 1 of Black Stained Glass Pane to close
  956. format slot 7 of player with 1 of Black Stained Glass Pane to close
  957. format slot 8 of player with 1 of Black Stained Glass Pane to close
  958. format slot 18 of player with 1 of Black Stained Glass Pane to close
  959. format slot 19 of player with 1 of Black Stained Glass Pane to close
  960. format slot 21 of player with 1 of Black Stained Glass Pane to close
  961. format slot 23 of player with 1 of Black Stained Glass Pane to close
  962. format slot 20 of player with 1 of Black Stained Glass Pane to close
  963. format slot 25 of player with 1 of Black Stained Glass Pane to close
  964. format slot 26 of player with 1 of Black Stained Glass Pane to close
  965. if loop-number is 4:
  966. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  967. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  968. format slot 0 of player with 1 of Black Stained Glass Pane to close
  969. format slot 1 of player with 1 of Black Stained Glass Pane to close
  970. format slot 2 of player with 1 of Black Stained Glass Pane to close
  971. format slot 5 of player with 1 of Black Stained Glass Pane to close
  972. format slot 6 of player with 1 of Black Stained Glass Pane to close
  973. format slot 7 of player with 1 of Black Stained Glass Pane to close
  974. format slot 8 of player with 1 of Black Stained Glass Pane to close
  975. format slot 18 of player with 1 of Black Stained Glass Pane to close
  976. format slot 19 of player with 1 of Black Stained Glass Pane to close
  977. format slot 20 of player with 1 of Black Stained Glass Pane to close
  978. format slot 21 of player with 1 of Black Stained Glass Pane to close
  979. format slot 24 of player with 1 of Black Stained Glass Pane to close
  980. format slot 25 of player with 1 of Black Stained Glass Pane to close
  981. format slot 26 of player with 1 of Black Stained Glass Pane to close
  982. if loop-number is 5:
  983. format slot 0 of player with 1 of Black Stained Glass Pane to close
  984. format slot 1 of player with 1 of Black Stained Glass Pane to close
  985. format slot 2 of player with 1 of Black Stained Glass Pane to close
  986. format slot 3 of player with 1 of Black Stained Glass Pane to close
  987. format slot 5 of player with 1 of Black Stained Glass Pane to close
  988. format slot 6 of player with 1 of Black Stained Glass Pane to close
  989. format slot 7 of player with 1 of Black Stained Glass Pane to close
  990. format slot 8 of player with 1 of Black Stained Glass Pane to close
  991. format slot 18 of player with 1 of Black Stained Glass Pane to close
  992. format slot 19 of player with 1 of Black Stained Glass Pane to close
  993. format slot 20 of player with 1 of Black Stained Glass Pane to close
  994. format slot 21 of player with 1 of Black Stained Glass Pane to close
  995. format slot 23 of player with 1 of Black Stained Glass Pane to close
  996. format slot 24 of player with 1 of Black Stained Glass Pane to close
  997. format slot 25 of player with 1 of Black Stained Glass Pane to close
  998. format slot 26 of player with 1 of Black Stained Glass Pane to close
  999. if loop-number is 6:
  1000. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  1001. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  1002. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1003. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1004. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1005. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1006. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1007. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1008. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1009. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1010. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1011. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1012. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1013. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1014. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1015. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1016. if loop-number is 7:
  1017. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  1018. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  1019. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1020. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1021. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1022. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1023. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1024. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1025. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1026. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1027. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1028. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1029. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1030. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1031. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1032. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1033. if loop-number is 8:
  1034. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  1035. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  1036. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1037. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1038. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1039. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1040. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1041. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1042. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1043. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1044. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1045. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1046. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1047. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1048. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1049. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1050. if loop-number is 9:
  1051. format slot 8 of player with 1 of Purple Stained Glass Pane to close
  1052. format slot 18 of player with 1 of Purple Stained Glass Pane to close
  1053. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1054. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1055. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1056. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1057. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1058. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1059. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1060. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1061. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1062. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1063. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1064. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1065. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1066. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1067. if loop-number is 10:
  1068. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  1069. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  1070. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1071. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1072. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1073. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1074. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1075. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1076. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1077. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1078. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1079. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1080. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1081. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1082. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1083. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1084. if loop-number is 11:
  1085. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  1086. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  1087. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1088. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1089. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1090. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1091. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1092. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1093. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1094. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1095. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1096. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1097. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1098. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1099. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1100. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1101. if loop-number is 12:
  1102. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  1103. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  1104. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1105. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1106. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1107. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1108. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1109. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1110. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1111. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1112. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1113. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1114. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1115. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1116. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1117. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1118. if loop-number is 13:
  1119. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1120. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1121. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1122. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1123. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1124. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1125. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1126. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1127. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1128. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1129. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1130. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1131. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1132. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1133. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1134. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1135. if loop-number is 14:
  1136. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  1137. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  1138. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1139. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1140. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1141. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1142. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1143. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1144. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1145. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1146. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1147. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1148. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1149. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1150. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1151. if loop-number is 15:
  1152. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  1153. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  1154. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1155. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1156. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1157. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1158. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1159. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1160. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1161. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1162. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1163. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1164. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1165. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1166. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1167. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1168. if loop-number is 16:
  1169. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  1170. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  1171. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1172. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1173. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1174. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1175. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1176. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1177. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1178. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1179. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1180. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1181. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1182. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1183. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1184. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1185. if loop-number is 17:
  1186. format slot 0 of player with 1 of Purple Stained Glass Pane to close
  1187. format slot 26 of player with 1 of Purple Stained Glass Pane to close
  1188. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1189. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1190. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1191. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1192. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1193. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1194. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1195. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1196. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1197. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1198. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1199. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1200. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1201. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1202. if loop-number is 18:
  1203. format slot 1 of player with 1 of Purple Stained Glass Pane to close
  1204. format slot 25 of player with 1 of Purple Stained Glass Pane to close
  1205. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1206. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1207. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1208. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1209. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1210. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1211. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1212. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1213. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1214. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1215. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1216. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1217. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1218. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1219. if loop-number is 19:
  1220. format slot 2 of player with 1 of Purple Stained Glass Pane to close
  1221. format slot 24 of player with 1 of Purple Stained Glass Pane to close
  1222. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1223. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1224. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1225. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1226. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1227. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1228. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1229. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1230. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1231. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1232. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1233. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1234. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1235. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1236. if loop-number is 20:
  1237. format slot 3 of player with 1 of Purple Stained Glass Pane to close
  1238. format slot 23 of player with 1 of Purple Stained Glass Pane to close
  1239. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1240. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1241. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1242. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1243. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1244. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1245. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1246. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1247. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1248. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1249. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1250. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1251. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1252. if loop-number is 21:
  1253. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1254. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1255. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1256. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1257. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1258. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1259. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1260. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1261. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1262. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1263. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1264. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1265. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1266. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1267. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1268. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1269. if loop-number is 22:
  1270. format slot 5 of player with 1 of Purple Stained Glass Pane to close
  1271. format slot 21 of player with 1 of Purple Stained Glass Pane to close
  1272. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1273. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1274. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1275. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1276. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1277. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1278. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1279. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1280. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1281. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1282. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1283. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1284. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1285. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1286. if loop-number is 23:
  1287. format slot 6 of player with 1 of Purple Stained Glass Pane to close
  1288. format slot 20 of player with 1 of Purple Stained Glass Pane to close
  1289. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1290. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1291. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1292. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1293. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1294. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1295. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1296. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1297. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1298. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1299. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1300. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1301. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1302. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1303. if loop-number is 24:
  1304. format slot 7 of player with 1 of Purple Stained Glass Pane to close
  1305. format slot 19 of player with 1 of Purple Stained Glass Pane to close
  1306. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1307. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1308. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1309. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1310. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1311. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1312. format slot 8 of player with 1 of Black Stained Glass Pane to close
  1313. format slot 18 of player with 1 of Black Stained Glass Pane to close
  1314. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1315. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1316. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1317. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1318. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1319. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1320. if loop-number is 25:
  1321. format slot 8 of player with 1 of Purple Stained Glass Pane to close
  1322. format slot 18 of player with 1 of Purple Stained Glass Pane to close
  1323. format slot 0 of player with 1 of Black Stained Glass Pane to close
  1324. format slot 1 of player with 1 of Black Stained Glass Pane to close
  1325. format slot 2 of player with 1 of Black Stained Glass Pane to close
  1326. format slot 3 of player with 1 of Black Stained Glass Pane to close
  1327. format slot 5 of player with 1 of Black Stained Glass Pane to close
  1328. format slot 6 of player with 1 of Black Stained Glass Pane to close
  1329. format slot 7 of player with 1 of Black Stained Glass Pane to close
  1330. format slot 26 of player with 1 of Black Stained Glass Pane to close
  1331. format slot 19 of player with 1 of Black Stained Glass Pane to close
  1332. format slot 20 of player with 1 of Black Stained Glass Pane to close
  1333. format slot 21 of player with 1 of Black Stained Glass Pane to close
  1334. format slot 23 of player with 1 of Black Stained Glass Pane to close
  1335. format slot 24 of player with 1 of Black Stained Glass Pane to close
  1336. format slot 25 of player with 1 of Black Stained Glass Pane to close
  1337. set {GOCASE::%player%.1} to {GOCASE::%player%.2}
  1338. format slot 9 of player with 1 of {GOCASE::%player%.1} to close
  1339. set {GOCASE::%player%.2} to {GOCASE::%player%.3}
  1340. format slot 10 of player with 1 of {GOCASE::%player%.2} to close
  1341. set {GOCASE::%player%.3} to {GOCASE::%player%.4}
  1342. format slot 11 of player with 1 of {GOCASE::%player%.3} to close
  1343. set {GOCASE::%player%.4} to {GOCASE::%player%.5}
  1344. format slot 12 of player with 1 of {GOCASE::%player%.4} to close
  1345. set {GOCASE::%player%.5} to {GOCASE::%player%.6}
  1346. format slot 13 of player with 1 of {GOCASE::%player%.5} to close
  1347. set {GOCASE::%player%.6} to {GOCASE::%player%.7}
  1348. format slot 14 of player with 1 of {GOCASE::%player%.6} to close
  1349. set {GOCASE::%player%.7} to {GOCASE::%player%.8}
  1350. format slot 15 of player with 1 of {GOCASE::%player%.7} to close
  1351. set {GOCASE::%player%.8} to {GOCASE::%player%.9}
  1352. format slot 16 of player with 1 of {GOCASE::%player%.8} to close
  1353. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  1354. if chance of 90%:
  1355. if {GOCASE::rare::*} contains {GOCASE::%player%.9}:
  1356. set {GOCASE::%player%.9} to random element out of {GOCASE::case.%loop-value%::*}
  1357. format slot 17 of player with 1 of {GOCASE::%player%.9} to close
  1358. if loop-number-2 is smaller than 20:
  1359. play raw sound "random.pop" at player with pitch 1.5 volume 1
  1360. wait 0.3 second
  1361. else if loop-number-2 is not higher than 24:
  1362. play raw sound "random.pop" at player with pitch 1.5 volume 1
  1363. wait 1 second
  1364. else:
  1365. play raw sound "random.pop" at player with pitch 1.5 volume 1
  1366. wait 1.5 second
  1367. play raw sound "mob.endermen.portal" at player with pitch 0.001 volume 1
  1368. delete {GOCASE::wait4.%player%}
  1369. close player's inventory
  1370. if player can hold {GOCASE::%player%.5}:
  1371. give player {GOCASE::%player%.5}
  1372. else:
  1373. drop {GOCASE::%player%.5}
  1374. send "&6**&lPrzedmiot zostal upuszczony na ziemie!"
  1375. send "&6**&c&lGratulacje, sprawdz co wygrales!"
  1376. delete {GOCASE::wait4.%player%}
  1377. close player's inventory
  1378. delete {GOCASE::%player%.1}
  1379. delete {GOCASE::%player%.2}
  1380. delete {GOCASE::%player%.3}
  1381. delete {GOCASE::%player%.4}
  1382. delete {GOCASE::%player%.5}
  1383. delete {GOCASE::%player%.6}
  1384. delete {GOCASE::%player%.7}
  1385. delete {GOCASE::%player%.8}
  1386. delete {GOCASE::%player%.9}
  1387. delete {GOCASE::casename.%player%}
  1388. REMOVE player from {GOCASE::waits::*}
  1389. else:
  1390. send "&6**&c&lNie masz klucza do tej skrzynki! - Mozesz ja kupic w &6ITEMSHOPIE &rlub wydropic!"
  1391. stop
  1392. #Zabezpieczenie przed konfliktami na serwerze#
  1393. on join:
  1394. delete {GOCASE::wait4.%player%}
  1395. delete {GOCASE::wait.%player%}
  1396. #Drop#
  1397. #Szanse mozesz odpowiednio modyfikowac#
  1398. on mine stone:
  1399. loop {GOCASE::cases::*}:
  1400. if chance of 0.1%:
  1401. if player can hold chest:
  1402. give player chest named "&5Skrzynka %loop-value%"
  1403. send "&5%player% , &c&lznalazles skrzynke &6%loop-value%&c! &cZnajdz, badz &6kup w itemshopie &rklucz i otworz skrzynke aby wolosowac nagrode!" to player
  1404. else:
  1405. give player chest named "&5Skrzynka %loop-value%"
  1406. send "&5%player% , &c&lznalazles skrzynke &6%loop-value%&c! &cZnajdz, badz kup w itemshopie klucz i otworz skrzynke aby wolosowac nagrode!" to player
  1407. send "&6** &cPrzedmiot zostal upuszczony na ziemie, z powodu braku miejsca w ekwipunku!"
  1408. if chance of 0.1%:
  1409. if {GOASE::case.%loop-value%.key} is false:
  1410. stop
  1411. if player can hold Tripwire Hook:
  1412. give player Tripwire Hook named "&5Klucz do skrzynki %loop-value%"
  1413. send "&5%player% , &c&lznalazles klucz do skrzynki &6%loop-value%&c! &cZnajdz, badz &6kup w itemshopie &rodpowiednia skrzynke i otworz ja aby wolosowac nagrode!" to player
  1414. else:
  1415. give player Tripwire Hook named "&5Klucz do skrzynki %loop-value%"
  1416. send "&5%player% , &c&lznalazles klucz do skrzynki &6%loop-value%&c! &cZnajdz, badz &6kup w itemshopie &rodpowiednia skrzynke i otworz ja aby wolosowac nagrode!" to player
  1417. send "&6** &cPrzedmiot zostal upuszczony na ziemie, z powodu braku miejsca w ekwipunku!"
Advertisement
Add Comment
Please, Sign In to add comment