Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2016
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.65 KB | None | 0 0
  1. #===================================#
  2. #MysteryBoxes-sK#
  3. #------------------#
  4. #Coded by *KnetterBlits*
  5. #------------------#
  6. #Version: Release 1.4.2
  7. #===================================#
  8.  
  9. #----------------------------------------------------------#
  10. #You will need 3 skript addons for this skript to work!
  11. #And ofcource you will need skript for this to work!
  12.  
  13. #- SkRayFall
  14. #- SkQuery
  15. #- SkDragon
  16. #----------------------------------------------------------#
  17.  
  18.  
  19. #----------------------------------------------------------#
  20. #What does this skirpt do?
  21. #This skirpt allows your players to open up random
  22. #items from a MysteryBox, see this like a csgo case
  23. #or just a gamble case. +
  24. #This is perfect for KitPVP, Factions, etc!
  25. #There also is a command to give players keys,
  26. #So you could also put this in as a voting reward!
  27. #The possibility's are endless!
  28. #----------------------------------------------------------#
  29.  
  30.  
  31. #All the options are listed down here, you can change everything!
  32. #==============#
  33. options:
  34. #In what worlds should MysteryBoxes be enabled?
  35. Worlds: "Hub" or "Example" or "world"
  36.  
  37. #What should the name of the key be?
  38. NormalKeyName: "&eNormal Key"
  39. RareKeyName: "&eRare Key"
  40. CommonKeyName: "&8Common Key"
  41. MythicalKeyName: "&e&l:&4&lMythical Key&e&l:"
  42. CSGOKeyName: "&4&lCase Key"
  43.  
  44. #What item does the MysteryBox has to be?
  45. NormalChestBlock: Ender Chest
  46. RareChestBlock: End Portal Frame
  47. CommonChestBlock: JukeBox
  48. MythicalChestBlock: Diamond Block
  49. CSGOCaseBlock: black stained clay
  50.  
  51. #The message players get, when they dont have a key!
  52. NoKeyMessage: "&cYou dont have a key!"
  53.  
  54. #The message when a player tries to open a box, but it is already active!
  55. AlreadyActiveNormal: "&cThis box is already being opened!"
  56. AlreadyActiveRare: "&cThis rare box is already being opened!"
  57.  
  58. #The speed a player gets pushed back with when clicking with the wrong key#
  59. PushSpeed: 2
  60.  
  61. #Hologram at the end of opening, BE SURE TO NOT USE "" here#
  62. HologramAtEnd: &eEnjoy your new items!!
  63.  
  64. #A broadcast message that everybody in the server will see, when someone is opening a MysteryBox#
  65. BroadCastMessage: "&c&l%player% &6&lis opening a mysterybox!"
  66.  
  67. #The item that will be shown at the end of opening a box, inside the hologram!
  68. HoloGramItem: diamond # [Has to be an item]
  69.  
  70. VariableClearMessage: "&eCleared all the variables!"
  71.  
  72.  
  73.  
  74.  
  75.  
  76. #=============================#
  77. #All the prices can be set here, command
  78. #prices are coming soon!
  79. #To add a price, copy a existing line, for example
  80. #{Mb::2} and change the "2" to a random number
  81. #Be sure to NOT create 2 of the same numbers!
  82. #After changing the number, you can change
  83. #The item, so as example:
  84. #{Mb::100} = Sponge
  85. #{Mb2::100} = Diamond Sword
  86. #{Mb3::100} = Golden Apple
  87. #{Mb4::100} = Sponge
  88. #=============================#
  89.  
  90.  
  91.  
  92. #Normal box winnings!
  93. variables:
  94. {Mb::2} = Diamond
  95. {Mb::4} = Bone
  96. {Mb::6} = Stick
  97. {Mb::8} = Stone
  98. {Mb::9} = Golden Apple
  99. {Mb::10} = Stick
  100.  
  101.  
  102.  
  103. #Common box items!
  104. {Mb3::1} = Diamond chestplate
  105. {Mb3::2} = Diamond Leggings
  106. {Mb3::3} = Diamond Helmet
  107. {Mb3::4}= Diamond boots
  108. {Mb3::5} = Golden Apple
  109. {Mb3::6} = Diamond Sword
  110. {Mb3::7} = Golden Sword
  111. {Mb3::8} = Stick
  112.  
  113.  
  114. #Rare box items!
  115. {Mb2::1} = Diamond chestplate
  116. {Mb2::2} = Diamond Leggings
  117. {Mb2::3} = Diamond Helmet
  118. {Mb2::4}= Diamond boots
  119. {Mb2::5} = Golden Apple
  120. {Mb2::6} = Diamond Sword
  121. {Mb2::7} = Golden Sword
  122.  
  123.  
  124. #Mythical box items!
  125. {Mb4::1} = Diamond chestplate
  126. {Mb4::2} = Diamond Leggings
  127. {Mb4::3} = Diamond Helmet
  128. {Mb4::4}= Diamond boots
  129. {Mb4::5} = Golden Apple
  130. {Mb4::6} = Diamond Sword
  131. {Mb4::7} = Golden Sword
  132.  
  133.  
  134. #CSGO box items!
  135. {csgocase::1} = diamond
  136. {csgocase::2} = stone
  137. {csgocase::3} = emerald
  138. {csgocase::4} = gold ingot
  139. {csgocase::5} = stone sword
  140. {csgocase::6} = diamond chestplate
  141. {csgocase::7} = golden apple
  142. {csgocase::8} = apple
  143. {csgocase::9} = 32 cobblestone
  144. {csgocase::10} = 5 iron ingot
  145.  
  146.  
  147.  
  148. #-----------------------------------------------#
  149. command /normalkey <player> <number>:
  150. permission: mb.give.key
  151. trigger:
  152. give argument 2 of tripwire hook named {@NormalKeyName} to argument 1
  153. send "&echange this to whatever youwant %argument 2% normal mysterybox key(s)!"
  154.  
  155. command /rarekey <player> <number>:
  156. permission: mb.give.key
  157. trigger:
  158. give argument 2 of tripwire hook named {@RareKeyName} to argument 1
  159. send "&eYou recieved %argument 2% rare mysterybox key(s)!"
  160.  
  161. command /commonkey <player> <number>:
  162. permission: mb.give.key
  163. trigger:
  164. give argument 2 of tripwire hook named {@CommonKeyName} to argument 1
  165. send "&eYou recieved %argument 2% common mysterybox key(s)!"
  166.  
  167. command /mythicalkey <player> <number>:
  168. permission: mb.give.key
  169. trigger:
  170. give argument 2 of tripwire hook named {@MythicalKeyName} to argument 1
  171. send "&eYou recieved %argument 2% &emythical&e mysterybox key(s)!"
  172.  
  173. command /csgokey <player> <number>:
  174. permission: mb.give
  175. trigger:
  176. give argument 2 of tripwire hook named {@CSGOKeyName} to argument 1
  177. send "&eYou recieved %argument 2% &ecsgo&e case key(s)!"
  178. #====================================================#
  179.  
  180.  
  181. command /set <text>:
  182. permission: mb.admin
  183. trigger:
  184. if arg 1 is "normal":
  185. set {mb.location} to location of player
  186. message "&eNormal MysteryBox location set!"
  187. if arg 1 is "rare":
  188. set {mb.location.rare} to location of player
  189. message "&eRare MysteryBox location set!"
  190. if arg 1 is "common":
  191. set {mb.location.common} to location of player
  192. message "&eCommon MysteryBox location set!"
  193. if arg 1 is "mythical":
  194. set {mb.location.mythical} to location of player
  195. message "&eMythical MysteryBox location set!"
  196.  
  197. #====================================================#
  198.  
  199. command /clearprices:
  200. permission: mb.admin
  201. trigger:
  202. message {@VariableClearMessage}
  203. wait 4 seconds
  204. clear {Mb::*}
  205. clear {enchantment::*}
  206. clear {Mb2::*}
  207. clear {Mb3::*}
  208. clear {Mb4::*}
  209. message "&6&l----------------------------------"
  210. message "&c&lCleared all the prices! Be sure to reload the plugin!"
  211. message "&6&l----------------------------------"
  212.  
  213. #====================================================#
  214.  
  215. on rightclick holding a tripwire hook:
  216. world is {@Worlds}:
  217. if {mb.open1} is true:
  218. cancel event
  219. message {@AlreadyActiveNormal}
  220. stop
  221. if clicked block is a {@NormalChestBlock}:
  222. cancel event
  223. set {mb.open1} to true
  224. remove 1 tripwire hook from player
  225. #===================================================================#
  226. broadcast {@BroadCastMessage}
  227. set {db.block3} to location 3 blocks above {mb.location}
  228. drawSimpleHalo particle "redstone", center {db.block3}, id "3", rainbowMode true, visibleRange 30
  229. drawAtom particle1 "redstone", particle2 "flame", center location of {mb.location}, id "1", rainbowMode true, innerPCount 10, innerRadius .6, outerPCount 3, orbitCount 6, start 0, visibleRange 30, rotation 30
  230. wait 0.3 seconds
  231. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 3, sideRatio 1, visibleRange 30
  232. wait 0.3 seconds
  233. stopEffect "2"
  234. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 3.5, sideRatio 1, visibleRange 30
  235. wait 0.3 seconds
  236. stopEffect "2"
  237. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 4, sideRatio 1, visibleRange 30
  238. wait 0.3 seconds
  239. stopEffect "2"
  240. #-----------------------#
  241. drawCylinder particle "fireworkspark", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 5, sideRatio 1, visibleRange 30
  242. wait 0.1 seconds
  243. stopEffect "2"
  244. drawCylinder particle "fireworkspark", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 5.5, sideRatio 1, visibleRange 30
  245. wait 0.1 seconds
  246. stopEffect "2"
  247. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 6, sideRatio 1, visibleRange 30
  248. wait 0.1 seconds
  249. stopEffect "2"
  250. wait 0.1 seconds
  251. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 6.5, sideRatio 1, visibleRange 30
  252. wait 0.1 seconds
  253. stopEffect "2"
  254. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 7, sideRatio 1, visibleRange 30
  255. wait 0.1 seconds
  256. stopEffect "2"
  257. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 7.5, sideRatio 1, visibleRange 30
  258. wait 0.1 seconds
  259. stopEffect "2"
  260. wait 0.1 seconds
  261. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 8.5, sideRatio 1, visibleRange 30
  262. wait 0.1 seconds
  263. stopEffect "2"
  264. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 9, sideRatio 1, visibleRange 30
  265. wait 0.1 seconds
  266. stopEffect "2"
  267. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.3, density 15, height 9.5, sideRatio 3, visibleRange 30
  268. wait 0.1 seconds
  269. stopEffect "2"
  270. #--------------------#
  271. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 10, sideRatio 1, visibleRange 30
  272. wait 0.1 seconds
  273. stopEffect "2"
  274. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 10.5, sideRatio 1, visibleRange 30
  275. wait 0.1 seconds
  276. stopEffect "2"
  277. wait 0.1 seconds
  278. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 11, sideRatio 1, visibleRange 30
  279. wait 0.1 seconds
  280. stopEffect "2"
  281. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 11.5, sideRatio 1, visibleRange 30
  282. wait 0.1 seconds
  283. stopEffect "2"
  284. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 12, sideRatio 1, visibleRange 30
  285. wait 0.1 seconds
  286. stopEffect "2"
  287. wait 0.1 seconds
  288. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 12.5, sideRatio 1, visibleRange 30
  289. wait 0.1 seconds
  290. stopEffect "2"
  291. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 13, sideRatio 1, visibleRange 30
  292. wait 0.1 seconds
  293. stopEffect "2"
  294. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.3, density 15, height 13.5, sideRatio 3, visibleRange 30
  295. wait 0.1 seconds
  296. stopEffect "2"
  297. create a bleed effect at location of {mb.location} with id "100"
  298. #-------#
  299. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 14, sideRatio 1, visibleRange 30
  300. wait 0.1 seconds
  301. stopEffect "2"
  302. wait 0.1 seconds
  303. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 14.5, sideRatio 1, visibleRange 30
  304. wait 0.1 seconds
  305. stopEffect "2"
  306. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 15, sideRatio 1, visibleRange 30
  307. wait 0.1 seconds
  308. stopEffect "2"
  309. drawCylinder particle "flame", center location of {mb.location}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.3, density 15, height 15.5, sideRatio 3, visibleRange 30
  310. wait 0.1 seconds
  311. stopEffect "2"
  312. stopEffect "3"
  313. set {db.block2} to location 10 blocks above {mb.location}
  314. wait 1 seconds
  315. stopEffect id "%player%"
  316. stopEffect id "1"
  317. create an explosion of force 2 at {db.block2}
  318. delete effect "100"
  319. wait 0.7 seconds
  320. strike lightning at {mb.location}
  321. wait 1 tick
  322. #===================================================================#s
  323. play level up at player with pitch 1
  324. launch creeper firework colored yellow at {mb.location} timed 0.1
  325. #===================================================================#
  326. give player a random item out of {mb::*}
  327. set {mb.open1} to false
  328. stop
  329. #======RareChest=======================================================#
  330. if {mb.open2} is true:
  331. cancel event
  332. message {@AlreadyActiveRare}
  333. stop
  334. if clicked block is a {@RareChestBlock}:
  335. if name of player's tool is {@RareKeyName}:
  336. broadcast {@BroadCastMessage}
  337. cancel event
  338. remove 1 tripwire hook from player
  339. play "EXPLODE" to player
  340. #-----------------------#EFFECT-####################################
  341. play "CLICK" to player
  342. set {mb.location3} to location 1 blocks above {mb.location.rare}
  343. wait 0.2 seconds
  344. drawAtom particle1 "fireworkspark", particle2 "smoke", center location of {mb.location.rare}, id "1", rainbowMode false, innerPCount 10, innerRadius 1.5, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  345. drawSimpleHalo particle "redstone", center {mb.location.rare}, id "%player%", rainbowMode true, visibleRange 30
  346. wait 3 seconds
  347. create a bleed effect at location of {mb.location.rare} with id "100"
  348. wait 3 seconds
  349. set {mb.location2} to location 1 blocks above {mb.location.rare}
  350. wait 1 tick
  351. show 400 "flame" particles at {mb.location2} for player offset by 4, 1, 3
  352. show 400 "cloud" particles at {mb.location2} for player offset by 4, 1, 3
  353. play explode at player with pitch 1
  354. wait 1 tick
  355. delete effect "100"
  356. stopEffect "2"
  357.  
  358. wait 1.5 seconds
  359. strike lightning at {mb.location.rare}
  360. drawCylinder particle "lava", center location of {mb.location3}, id "2", randomRotation false, isSolid true, radius .05, density .05, height .10, sideRatio 0, visibleRange 30
  361. play level up at player with pitch 1
  362. launch creeper firework colored yellow at {mb.location.rare} timed 0.1
  363. give player a random item out of {Mb2::*}
  364. wait 1 tick
  365. stopEffect "1"
  366. stopEffect "%player%"
  367. stopEffect "2"
  368. stop
  369.  
  370.  
  371. if {mb.open3} is true:
  372. cancel event
  373. message {@AlreadyActiveRare}
  374. stop
  375. if clicked block is a {@CommonChestBlock}:
  376. if name of player's tool is {@CommonKeyName}:
  377. remove 1 tripwire hook from player
  378.  
  379. set {mb.open3} to true
  380. cancel event
  381.  
  382. broadcast {@BroadCastMessage}
  383. set {db.4} to location 5 blocks above {mb.location.common}
  384. wait 0.3 seconds
  385. drawAtom particle1 "fireworkspark", particle2 "fireworkspark", center location of {mb.location.common}, id "18", rainbowMode false, innerPCount 10, innerRadius .1, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  386. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 3, sideRatio 1, visibleRange 30
  387. wait 0.3 seconds
  388. stopEffect "2"
  389. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 3.5, sideRatio 1, visibleRange 30
  390. wait 0.3 seconds
  391. stopEffect "2"
  392. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 4, sideRatio 1, visibleRange 30
  393. wait 0.3 seconds
  394. stopEffect "2"
  395. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 5, sideRatio 1, visibleRange 30
  396. wait 0.1 seconds
  397. stopEffect "2"
  398. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 5.5, sideRatio 1, visibleRange 30
  399. wait 0.1 seconds
  400. stopEffect "2"
  401. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 6, sideRatio 1, visibleRange 30
  402. wait 0.1 seconds
  403. stopEffect "2"
  404. wait 0.1 seconds
  405. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 6.5, sideRatio 1, visibleRange 30
  406. wait 0.1 seconds
  407. stopEffect "2"
  408. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 7, sideRatio 1, visibleRange 30
  409. wait 0.3 seconds
  410. stopEffect "2"
  411. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 7.5, sideRatio 1, visibleRange 30
  412. wait 0.3 seconds
  413. stopEffect "2"
  414. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 8, sideRatio 1, visibleRange 30
  415. wait 0.3 seconds
  416. stopEffect "2"
  417. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 8.5, sideRatio 1, visibleRange 30
  418. wait 0.1 seconds
  419. stopEffect "2"
  420. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 9, sideRatio 1, visibleRange 30
  421. wait 0.1 seconds
  422. stopEffect "2"
  423. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 9.5, sideRatio 1, visibleRange 30
  424. wait 0.1 seconds
  425. stopEffect "2"
  426. wait 0.1 seconds
  427. drawCylinder particle "fireworkspark", center location of {mb.location.common}, id "2", rainbowMode true, randomRotation false, isSolid true, radius 0.2, density 15, height 10, sideRatio 1, visibleRange 30
  428. wait 0.1 seconds
  429. stopEffect "2"
  430. wait 2 ticks
  431.  
  432. drawAtom particle1 "snowshovel", particle2 "spell", center location of {db.4}, id "17", rainbowMode false, innerPCount 10, innerRadius 1, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  433. wait 2 seconds
  434.  
  435.  
  436. strike lightning at {mb.location.common}
  437. wait 2 ticks
  438. show 400 "flame" particles at {mb.location.common} for player offset by 0.7, 1, 3
  439.  
  440. stopEffect "17"
  441. stopEffect "18"
  442.  
  443. wait 15 ticks
  444.  
  445. play level up at player with pitch 1
  446. launch creeper firework colored yellow at {mb.location.common} timed 0.1
  447. give player a random item out of {Mb3::*}
  448. set {mb.open3} to false
  449.  
  450. stop
  451. wait 1 tick
  452. give player a random item out of {Mb2::*}
  453. set {mb.open3} to false
  454.  
  455. #---------------------------------#Mythical#-------------------------------------------------#
  456. if {mb.open4} is true:
  457. cancel event
  458. message {@AlreadyActiveRare}
  459. stop
  460. if clicked block is a {@MythicalChestBlock}:
  461. if name of player's tool is {@MythicalKeyName}:
  462. cancel event
  463. remove 1 tripwire hook from player
  464. play "EXPLODE" to player
  465. #-----------------------#EFFECT-####################################
  466. play "CLICK" to player
  467. set {mb.open4} to true
  468. broadcast {@BroadCastMessage}
  469. drawAtom particle1 "fireworkspark", particle2 "flame", center location of {mb.location.mythical}, id "200", rainbowMode true, innerPCount .1, innerRadius .7, outerPCount 1, orbitCount 5, start 0, visibleRange 30, rotation 15
  470.  
  471. drawAtom particle1 "fireworkspark", particle2 "flame", center location of {mb.location.mythical}, id "201", rainbowMode true, innerPCount .1, innerRadius .3, outerPCount 1, orbitCount 1, start 0, visibleRange 30, rotation 30
  472.  
  473. wait 3.2 seconds
  474.  
  475. stopEffect "200"
  476.  
  477. wait 1 tick
  478.  
  479. drawAtom particle1 "snowshovel", particle2 "flame", center location of {mb.location.mythical}, id "m1", rainbowMode true, innerPCount .1, innerRadius 1.3, outerPCount 1, orbitCount 5, start 0, visibleRange 30, rotation 15
  480.  
  481. wait 3.2 seconds
  482.  
  483. stopEffect "m1"
  484.  
  485. wait 1 tick
  486.  
  487. drawAtom particle1 "snowshovel", particle2 "flame", center location of {mb.location.mythical}, id "m1", rainbowMode true, innerPCount .1, innerRadius 2, outerPCount 1, orbitCount 5, start 0, visibleRange 30, rotation 15
  488.  
  489. wait 3.2 seconds
  490.  
  491. stopEffect "m1"
  492.  
  493.  
  494. wait 1 tick
  495.  
  496. play "CLICK" to player
  497. drawAtom particle1 "snowshovel", particle2 "flame", center location of {mb.location.mythical}, id "m1", rainbowMode true, innerPCount .1, innerRadius 3, outerPCount 1, orbitCount 5, start 0, visibleRange 30, rotation 15
  498.  
  499. drawAtom particle1 "fireworkspark", particle2 "flame", center location of {mb.location.mythical}, id "m2", rainbowMode true, innerPCount .1, innerRadius 3, outerPCount 1, orbitCount 4, start 0, visibleRange 30, rotation 15
  500.  
  501. wait 3.2 seconds
  502.  
  503. stopEffect "m1"
  504. stopEffect "m2"
  505.  
  506. set {mb.mythical.loc2} to location 3 blocks above {mb.location.mythical}
  507. set {mb.mythical.loc3} to location 7 blocks above {mb.location.mythical}
  508. set {mb.mythical.loc4} to location 11 blocks above {mb.location.mythical}
  509.  
  510. wait 1 tick
  511. play "CLICK" to player
  512. drawAtom particle1 "fireworkspark", particle2 "smoke", center location of {mb.mythical.loc2}, id "m3", rainbowMode false, innerPCount 10, innerRadius 1.5, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  513.  
  514. wait 1.5 seconds
  515. play "CLICK" to player
  516. drawAtom particle1 "flame", particle2 "smoke", center location of {mb.mythical.loc3}, id "m4", rainbowMode false, innerPCount 10, innerRadius 1.5, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  517.  
  518.  
  519. wait 1.5 seconds
  520.  
  521. drawAtom particle1 "spell", particle2 "smoke", center location of {mb.mythical.loc4}, id "m5", rainbowMode false, innerPCount 10, innerRadius 1.5, outerPCount 2.2, orbitCount 2, start 0, visibleRange 30, rotation 15
  522.  
  523. wait 1.5 seconds
  524.  
  525.  
  526. strike lightning at {mb.location.mythical}
  527.  
  528. stopEffect "m3"
  529. stopEffect "m4"
  530. stopEffect "m5"
  531.  
  532.  
  533. wait 1 tick
  534. drawCylinder particle "lava", center location of {mb.location.mythical}, id "m6", rainbowMode true, randomRotation false, isSolid true, radius 0.5, density 15, height 5, sideRatio 1, visibleRange 30
  535.  
  536.  
  537. wait 0.3 seconds
  538.  
  539. stopEffect "m6"
  540. stopEffect "200"
  541. stopEffect "201"
  542.  
  543. play level up at player with pitch 1
  544. launch creeper firework colored yellow at {mb.location.mythical} timed 0.1
  545. give player a random item out of {Mb4::*}
  546.  
  547. wait 1 tick
  548.  
  549. set {mb.open4} to false
  550.  
  551.  
  552.  
  553. command /rarestop:
  554. trigger:
  555. set {mb.open2} to false
  556. stop
  557. #================Events=====================#
  558.  
  559. on rightclick on {@NormalChestBlock}:
  560. world is {@Worlds}:
  561. if player's tool is tripwire hook named {@NormalKeyName}:
  562. stop
  563. if player's tool is not tripwire hook named {@NormalKeyName}:
  564. cancel event
  565. send {@NoKeyMessage}
  566. push the player backwards at speed {@PushSpeed}
  567.  
  568. on rightclick on {@RareChestBlock}:
  569. world is {@Worlds}:
  570. if player's tool is tripwire hook named {@RareKeyName}:
  571. stop
  572. if player's tool is not tripwire hook named {@RareKeyName}:
  573. cancel event
  574. send {@NoKeyMessage}
  575. push the player backwards at speed {@PushSpeed}
  576.  
  577. on rightclick on {@CommonChestBlock}:
  578. world is {@Worlds}:
  579. if player's tool is tripwire hook named {@CommonKeyName}:
  580. stop
  581. if player's tool is not tripwire hook named {@CommonKeyName}:
  582. cancel event
  583. send {@NoKeyMessage}
  584. push the player backwards at speed {@PushSpeed}
  585.  
  586. on rightclick on {@MythicalChestBlock}:
  587. world is {@Worlds}:
  588. if player's tool is tripwire hook named {@MythicalKeyName}:
  589. stop
  590. if player's tool is not tripwire hook named {@MythicalKeyName}:
  591. cancel event
  592. send {@NoKeyMessage}
  593. push the player backwards at speed {@PushSpeed}
  594.  
  595. on rightclick on {@CSGOCaseBlock}:
  596. world is {@Worlds}:
  597. if player's tool is tripwire hook named {@CSGOKeyName}:
  598. stop
  599. if player's tool is not tripwire hook named {@CSGOKeyName}:
  600. cancel event
  601. send {@NoKeyMessage}
  602. push the player backwards at speed {@PushSpeed}
  603.  
  604.  
  605. on skript load:
  606. set {mb.open2} to false
  607. set {mb.open1} to false
  608. set {mb.open3} to false
  609. set {mb.open4} to false
  610. set {mb.csgo} to false
  611. set {mb} to false
  612. #----------------------------------------------------------------------------------------------------------------------------#
  613.  
  614. command /mbsetupgui:
  615. permission: mb.setup.gui
  616. trigger:
  617. wait 0.1 seconds
  618. open chest with 4 row named "&4&lComing Soon..." to player
  619. format slot 0 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  620. format slot 1 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  621. format slot 2 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  622. format slot 3 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  623. format slot 4 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  624. format slot 5 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  625. format slot 6 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  626. format slot 7 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  627. format slot 8 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  628. format slot 9 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  629. format slot 10 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  630. format slot 11 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  631. format slot 12 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  632. format slot 13 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  633. format slot 14 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  634. format slot 15 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  635. format slot 16 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  636. format slot 17 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  637. format slot 18 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  638. format slot 19 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  639. format slot 20 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  640. format slot 21 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  641. format slot 22 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  642. format slot 23 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  643. format slot 24 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  644. format slot 25 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  645. format slot 26 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  646. format slot 27 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  647. format slot 28 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  648. format slot 29 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  649. format slot 30 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  650. format slot 31 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  651. format slot 32 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  652. format slot 33 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  653. format slot 34 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  654. format slot 35 of player with red glass named "&4&lComing Soon..." with lore "&6&lThis page is coming soon!" to close then run [make player execute command ""]
  655.  
  656.  
  657. on rightclick:
  658. if clicked block is {@CSGOCaseBlock}:
  659. if {mb.csgo} is true:
  660. cancel event
  661. message {@AlreadyActiveRare}
  662. stop
  663.  
  664.  
  665. if name of player's tool is {@CSGOKeyName}:
  666. cancel event
  667. remove 1 tripwire hook from player
  668. wait 2 ticks
  669. set {mb.csgo} to true
  670. open chest with 3 rows named "&4CS:GO &eBox" to player
  671. wait 0.1 seconds
  672. set {csgorandom} to a random item out of {csgo::*}
  673. play raw sound "note.harp" at player with pitch 2 volume 5
  674. set {mb.csgo.%player%} to true
  675. broadcast {@BroadCastMessage}
  676. set {mb.csgo.loc.1} to location of clicked block
  677. format slot 13 of player with {csgorandom} to be unstealable
  678. format slot 0 of player with red stained glass pane to be unstealable
  679. format slot 1 of player with red stained glass pane to be unstealable
  680. format slot 2 of player with red stained glass pane to be unstealable
  681. format slot 3 of player with red stained glass pane to be unstealable
  682. format slot 4 of player with red stained glass pane to be unstealable
  683. format slot 5 of player with red stained glass pane to be unstealable
  684. format slot 6 of player with red stained glass pane to be unstealable
  685. format slot 7 of player with red stained glass pane to be unstealable
  686. format slot 8 of player with red stained glass pane to be unstealable
  687. format slot 9 of player with red stained glass pane to be unstealable
  688. format slot 10 of player with red stained glass pane to be unstealable
  689. format slot 11 of player with red stained glass pane to be unstealable
  690. format slot 12 of player with red stained glass pane to be unstealable
  691. format slot 14 of player with red stained glass pane to be unstealable
  692. format slot 15 of player with red stained glass pane to be unstealable
  693. format slot 16 of player with red stained glass pane to be unstealable
  694. format slot 17 of player with red stained glass pane to be unstealable
  695. format slot 18 of player with red stained glass pane to be unstealable
  696. format slot 19 of player with red stained glass pane to be unstealable
  697. format slot 20 of player with red stained glass pane to be unstealable
  698. format slot 21 of player with red stained glass pane to be unstealable
  699. format slot 22 of player with red stained glass pane to be unstealable
  700. format slot 23 of player with red stained glass pane to be unstealable
  701. format slot 24 of player with red stained glass pane to be unstealable
  702. format slot 25 of player with red stained glass pane to be unstealable
  703. format slot 26 of player with red stained glass pane to be unstealable
  704. wait 0.6 seconds
  705. set {csgorandom} to a random item out of {csgo::*}
  706. play raw sound "note.harp" at player with pitch 2 volume 5
  707. open chest with 3 rows named "&4CS:GO &eBox" to player
  708. format slot 13 of player with {csgorandom} to be unstealable
  709. format slot 0 of player with yellow stained glass pane to be unstealable
  710. format slot 1 of player with yellow stained glass pane to be unstealable
  711. format slot 2 of player with yellow stained glass pane to be unstealable
  712. format slot 3 of player with yellow stained glass pane to be unstealable
  713. format slot 4 of player with yellow stained glass pane to be unstealable
  714. format slot 5 of player with yellow stained glass pane to be unstealable
  715. format slot 6 of player with yellow stained glass pane to be unstealable
  716. format slot 7 of player with yellow stained glass pane to be unstealable
  717. format slot 8 of player with yellow stained glass pane to be unstealable
  718. format slot 9 of player with yellow stained glass pane to be unstealable
  719. format slot 10 of player with yellow stained glass pane to be unstealable
  720. format slot 11 of player with yellow stained glass pane to be unstealable
  721. format slot 12 of player with yellow stained glass pane to be unstealable
  722. format slot 14 of player with yellow stained glass pane to be unstealable
  723. format slot 15 of player with yellow stained glass pane to be unstealable
  724. format slot 16 of player with yellow stained glass pane to be unstealable
  725. format slot 17 of player with yellow stained glass pane to be unstealable
  726. format slot 18 of player with yellow stained glass pane to be unstealable
  727. format slot 19 of player with yellow stained glass pane to be unstealable
  728. format slot 20 of player with yellow stained glass pane to be unstealable
  729. format slot 21 of player with yellow stained glass pane to be unstealable
  730. format slot 22 of player with yellow stained glass pane to be unstealable
  731. format slot 23 of player with yellow stained glass pane to be unstealable
  732. format slot 24 of player with yellow stained glass pane to be unstealable
  733. format slot 25 of player with yellow stained glass pane to be unstealable
  734. format slot 26 of player with yellow stained glass pane to be unstealable
  735. wait 0.6 seconds
  736. set {csgorandom} to a random item out of {csgo::*}
  737. play raw sound "note.harp" at player with pitch 2 volume 5
  738. open chest with 3 rows named "&4CS:GO &eBox" to player
  739. format slot 13 of player with {csgorandom} to be unstealable
  740. format slot 0 of player with blue stained glass pane to be unstealable
  741. format slot 1 of player with blue stained glass pane to be unstealable
  742. format slot 2 of player with blue stained glass pane to be unstealable
  743. format slot 3 of player with blue stained glass pane to be unstealable
  744. format slot 4 of player with blue stained glass pane to be unstealable
  745. format slot 5 of player with blue stained glass pane to be unstealable
  746. format slot 6 of player with blue stained glass pane to be unstealable
  747. format slot 7 of player with blue stained glass pane to be unstealable
  748. format slot 8 of player with blue stained glass pane to be unstealable
  749. format slot 9 of player with blue stained glass pane to be unstealable
  750. format slot 10 of player with blue stained glass pane to be unstealable
  751. format slot 11 of player with blue stained glass pane to be unstealable
  752. format slot 12 of player with blue stained glass pane to be unstealable
  753. format slot 14 of player with blue stained glass pane to be unstealable
  754. format slot 15 of player with blue stained glass pane to be unstealable
  755. format slot 16 of player with blue stained glass pane to be unstealable
  756. format slot 17 of player with blue stained glass pane to be unstealable
  757. format slot 18 of player with blue stained glass pane to be unstealable
  758. format slot 19 of player with blue stained glass pane to be unstealable
  759. format slot 20 of player with blue stained glass pane to be unstealable
  760. format slot 21 of player with blue stained glass pane to be unstealable
  761. format slot 22 of player with blue stained glass pane to be unstealable
  762. format slot 23 of player with blue stained glass pane to be unstealable
  763. format slot 24 of player with blue stained glass pane to be unstealable
  764. format slot 25 of player with blue stained glass pane to be unstealable
  765. format slot 26 of player with blue stained glass pane to be unstealable
  766. wait 0.1 seconds
  767. set {csgorandom} to a random item out of {csgo::*}
  768. play raw sound "note.harp" at player with pitch 2 volume 5
  769. open chest with 3 rows named "&4CS:GO &eBox" to player
  770. format slot 13 of player with {csgorandom} to be unstealable
  771. format slot 0 of player with red stained glass pane to be unstealable
  772. format slot 1 of player with red stained glass pane to be unstealable
  773. format slot 2 of player with red stained glass pane to be unstealable
  774. format slot 3 of player with red stained glass pane to be unstealable
  775. format slot 4 of player with red stained glass pane to be unstealable
  776. format slot 5 of player with red stained glass pane to be unstealable
  777. format slot 6 of player with red stained glass pane to be unstealable
  778. format slot 7 of player with red stained glass pane to be unstealable
  779. format slot 8 of player with red stained glass pane to be unstealable
  780. format slot 9 of player with red stained glass pane to be unstealable
  781. format slot 10 of player with red stained glass pane to be unstealable
  782. format slot 11 of player with red stained glass pane to be unstealable
  783. format slot 12 of player with red stained glass pane to be unstealable
  784. format slot 14 of player with red stained glass pane to be unstealable
  785. format slot 15 of player with red stained glass pane to be unstealable
  786. format slot 16 of player with red stained glass pane to be unstealable
  787. format slot 17 of player with red stained glass pane to be unstealable
  788. format slot 18 of player with red stained glass pane to be unstealable
  789. format slot 19 of player with red stained glass pane to be unstealable
  790. format slot 20 of player with red stained glass pane to be unstealable
  791. format slot 21 of player with red stained glass pane to be unstealable
  792. format slot 22 of player with red stained glass pane to be unstealable
  793. format slot 23 of player with red stained glass pane to be unstealable
  794. format slot 24 of player with red stained glass pane to be unstealable
  795. format slot 25 of player with red stained glass pane to be unstealable
  796. format slot 26 of player with red stained glass pane to be unstealable
  797. wait 1 seconds
  798. set {csgorandom} to a random item out of {csgo::*}
  799. play raw sound "note.harp" at player with pitch 2 volume 5
  800. open chest with 3 rows named "&4CS:GO &eBox" to player
  801. format slot 13 of player with {csgorandom} to be unstealable
  802. format slot 0 of player with yellow stained glass pane to be unstealable
  803. format slot 1 of player with yellow stained glass pane to be unstealable
  804. format slot 2 of player with yellow stained glass pane to be unstealable
  805. format slot 3 of player with yellow stained glass pane to be unstealable
  806. format slot 4 of player with yellow stained glass pane to be unstealable
  807. format slot 5 of player with yellow stained glass pane to be unstealable
  808. format slot 6 of player with yellow stained glass pane to be unstealable
  809. format slot 7 of player with yellow stained glass pane to be unstealable
  810. format slot 8 of player with yellow stained glass pane to be unstealable
  811. format slot 9 of player with yellow stained glass pane to be unstealable
  812. format slot 10 of player with yellow stained glass pane to be unstealable
  813. format slot 11 of player with yellow stained glass pane to be unstealable
  814. format slot 12 of player with yellow stained glass pane to be unstealable
  815. format slot 14 of player with yellow stained glass pane to be unstealable
  816. format slot 15 of player with yellow stained glass pane to be unstealable
  817. format slot 16 of player with yellow stained glass pane to be unstealable
  818. format slot 17 of player with yellow stained glass pane to be unstealable
  819. format slot 18 of player with yellow stained glass pane to be unstealable
  820. format slot 19 of player with yellow stained glass pane to be unstealable
  821. format slot 20 of player with yellow stained glass pane to be unstealable
  822. format slot 21 of player with yellow stained glass pane to be unstealable
  823. format slot 22 of player with yellow stained glass pane to be unstealable
  824. format slot 23 of player with yellow stained glass pane to be unstealable
  825. format slot 24 of player with yellow stained glass pane to be unstealable
  826. format slot 25 of player with yellow stained glass pane to be unstealable
  827. format slot 26 of player with yellow stained glass pane to be unstealable
  828. wait 1 seconds
  829. set {csgorandom} to a random item out of {csgo::*}
  830. play raw sound "note.harp" at player with pitch 2 volume 5
  831. open chest with 3 rows named "&4CS:GO &eBox" to player
  832. format slot 13 of player with {csgorandom} to be unstealable
  833. format slot 0 of player with blue stained glass pane to be unstealable
  834. format slot 1 of player with blue stained glass pane to be unstealable
  835. format slot 2 of player with blue stained glass pane to be unstealable
  836. format slot 3 of player with blue stained glass pane to be unstealable
  837. format slot 4 of player with blue stained glass pane to be unstealable
  838. format slot 5 of player with blue stained glass pane to be unstealable
  839. format slot 6 of player with blue stained glass pane to be unstealable
  840. format slot 7 of player with blue stained glass pane to be unstealable
  841. format slot 8 of player with blue stained glass pane to be unstealable
  842. format slot 9 of player with blue stained glass pane to be unstealable
  843. format slot 10 of player with blue stained glass pane to be unstealable
  844. format slot 11 of player with blue stained glass pane to be unstealable
  845. format slot 12 of player with blue stained glass pane to be unstealable
  846. format slot 14 of player with blue stained glass pane to be unstealable
  847. format slot 15 of player with blue stained glass pane to be unstealable
  848. format slot 16 of player with blue stained glass pane to be unstealable
  849. format slot 17 of player with blue stained glass pane to be unstealable
  850. format slot 18 of player with blue stained glass pane to be unstealable
  851. format slot 19 of player with blue stained glass pane to be unstealable
  852. format slot 20 of player with blue stained glass pane to be unstealable
  853. format slot 21 of player with blue stained glass pane to be unstealable
  854. format slot 22 of player with blue stained glass pane to be unstealable
  855. format slot 23 of player with blue stained glass pane to be unstealable
  856. format slot 24 of player with blue stained glass pane to be unstealable
  857. format slot 25 of player with blue stained glass pane to be unstealable
  858. format slot 26 of player with blue stained glass pane to be unstealable
  859. wait 0.1 seconds
  860. set {csgorandom} to a random item out of {csgo::*}
  861. play raw sound "note.harp" at player with pitch 2 volume 5
  862. open chest with 3 rows named "&4CS:GO &eBox" to player
  863. format slot 13 of player with {csgorandom} to be unstealable
  864. format slot 0 of player with red stained glass pane to be unstealable
  865. format slot 1 of player with red stained glass pane to be unstealable
  866. format slot 2 of player with red stained glass pane to be unstealable
  867. format slot 3 of player with red stained glass pane to be unstealable
  868. format slot 4 of player with red stained glass pane to be unstealable
  869. format slot 5 of player with red stained glass pane to be unstealable
  870. format slot 6 of player with red stained glass pane to be unstealable
  871. format slot 7 of player with red stained glass pane to be unstealable
  872. format slot 8 of player with red stained glass pane to be unstealable
  873. format slot 9 of player with red stained glass pane to be unstealable
  874. format slot 10 of player with red stained glass pane to be unstealable
  875. format slot 11 of player with red stained glass pane to be unstealable
  876. format slot 12 of player with red stained glass pane to be unstealable
  877. format slot 14 of player with red stained glass pane to be unstealable
  878. format slot 15 of player with red stained glass pane to be unstealable
  879. format slot 16 of player with red stained glass pane to be unstealable
  880. format slot 17 of player with red stained glass pane to be unstealable
  881. format slot 18 of player with red stained glass pane to be unstealable
  882. format slot 19 of player with red stained glass pane to be unstealable
  883. format slot 20 of player with red stained glass pane to be unstealable
  884. format slot 21 of player with red stained glass pane to be unstealable
  885. format slot 22 of player with red stained glass pane to be unstealable
  886. format slot 23 of player with red stained glass pane to be unstealable
  887. format slot 24 of player with red stained glass pane to be unstealable
  888. format slot 25 of player with red stained glass pane to be unstealable
  889. format slot 26 of player with red stained glass pane to be unstealable
  890. wait 0.6 seconds
  891. set {csgorandom} to a random item out of {csgo::*}
  892. play raw sound "note.harp" at player with pitch 2 volume 5
  893. open chest with 3 rows named "&4CS:GO &eBox" to player
  894. format slot 13 of player with {csgorandom} to be unstealable
  895. format slot 0 of player with yellow stained glass pane to be unstealable
  896. format slot 1 of player with yellow stained glass pane to be unstealable
  897. format slot 2 of player with yellow stained glass pane to be unstealable
  898. format slot 3 of player with yellow stained glass pane to be unstealable
  899. format slot 4 of player with yellow stained glass pane to be unstealable
  900. format slot 5 of player with yellow stained glass pane to be unstealable
  901. format slot 6 of player with yellow stained glass pane to be unstealable
  902. format slot 7 of player with yellow stained glass pane to be unstealable
  903. format slot 8 of player with yellow stained glass pane to be unstealable
  904. format slot 9 of player with yellow stained glass pane to be unstealable
  905. format slot 10 of player with yellow stained glass pane to be unstealable
  906. format slot 11 of player with yellow stained glass pane to be unstealable
  907. format slot 12 of player with yellow stained glass pane to be unstealable
  908. format slot 14 of player with yellow stained glass pane to be unstealable
  909. format slot 15 of player with yellow stained glass pane to be unstealable
  910. format slot 16 of player with yellow stained glass pane to be unstealable
  911. format slot 17 of player with yellow stained glass pane to be unstealable
  912. format slot 18 of player with yellow stained glass pane to be unstealable
  913. format slot 19 of player with yellow stained glass pane to be unstealable
  914. format slot 20 of player with yellow stained glass pane to be unstealable
  915. format slot 21 of player with yellow stained glass pane to be unstealable
  916. format slot 22 of player with yellow stained glass pane to be unstealable
  917. format slot 23 of player with yellow stained glass pane to be unstealable
  918. format slot 24 of player with yellow stained glass pane to be unstealable
  919. format slot 25 of player with yellow stained glass pane to be unstealable
  920. format slot 26 of player with yellow stained glass pane to be unstealable
  921. wait 0.6 seconds
  922. set {csgorandom} to a random item out of {csgo::*}
  923. play raw sound "note.harp" at player with pitch 2 volume 5
  924. open chest with 3 rows named "&4CS:GO &eBox" to player
  925. format slot 13 of player with {csgorandom} to be unstealable
  926. format slot 0 of player with blue stained glass pane to be unstealable
  927. format slot 1 of player with blue stained glass pane to be unstealable
  928. format slot 2 of player with blue stained glass pane to be unstealable
  929. format slot 3 of player with blue stained glass pane to be unstealable
  930. format slot 4 of player with blue stained glass pane to be unstealable
  931. format slot 5 of player with blue stained glass pane to be unstealable
  932. format slot 6 of player with blue stained glass pane to be unstealable
  933. format slot 7 of player with blue stained glass pane to be unstealable
  934. format slot 8 of player with blue stained glass pane to be unstealable
  935. format slot 9 of player with blue stained glass pane to be unstealable
  936. format slot 10 of player with blue stained glass pane to be unstealable
  937. format slot 11 of player with blue stained glass pane to be unstealable
  938. format slot 12 of player with blue stained glass pane to be unstealable
  939. format slot 14 of player with blue stained glass pane to be unstealable
  940. format slot 15 of player with blue stained glass pane to be unstealable
  941. format slot 16 of player with blue stained glass pane to be unstealable
  942. format slot 17 of player with blue stained glass pane to be unstealable
  943. format slot 18 of player with blue stained glass pane to be unstealable
  944. format slot 19 of player with blue stained glass pane to be unstealable
  945. format slot 20 of player with blue stained glass pane to be unstealable
  946. format slot 21 of player with blue stained glass pane to be unstealable
  947. format slot 22 of player with blue stained glass pane to be unstealable
  948. format slot 23 of player with blue stained glass pane to be unstealable
  949. format slot 24 of player with blue stained glass pane to be unstealable
  950. format slot 25 of player with blue stained glass pane to be unstealable
  951. format slot 26 of player with blue stained glass pane to be unstealable
  952. wait 0.1 seconds
  953. set {csgorandom} to a random item out of {csgo::*}
  954. play raw sound "note.harp" at player with pitch 2 volume 5
  955. open chest with 3 rows named "&4CS:GO &eBox" to player
  956. format slot 13 of player with {csgorandom} to be unstealable
  957. format slot 0 of player with red stained glass pane to be unstealable
  958. format slot 1 of player with red stained glass pane to be unstealable
  959. format slot 2 of player with red stained glass pane to be unstealable
  960. format slot 3 of player with red stained glass pane to be unstealable
  961. format slot 4 of player with red stained glass pane to be unstealable
  962. format slot 5 of player with red stained glass pane to be unstealable
  963. format slot 6 of player with red stained glass pane to be unstealable
  964. format slot 7 of player with red stained glass pane to be unstealable
  965. format slot 8 of player with red stained glass pane to be unstealable
  966. format slot 9 of player with red stained glass pane to be unstealable
  967. format slot 10 of player with red stained glass pane to be unstealable
  968. format slot 11 of player with red stained glass pane to be unstealable
  969. format slot 12 of player with red stained glass pane to be unstealable
  970. format slot 14 of player with red stained glass pane to be unstealable
  971. format slot 15 of player with red stained glass pane to be unstealable
  972. format slot 16 of player with red stained glass pane to be unstealable
  973. format slot 17 of player with red stained glass pane to be unstealable
  974. format slot 18 of player with red stained glass pane to be unstealable
  975. format slot 19 of player with red stained glass pane to be unstealable
  976. format slot 20 of player with red stained glass pane to be unstealable
  977. format slot 21 of player with red stained glass pane to be unstealable
  978. format slot 22 of player with red stained glass pane to be unstealable
  979. format slot 23 of player with red stained glass pane to be unstealable
  980. format slot 24 of player with red stained glass pane to be unstealable
  981. format slot 25 of player with red stained glass pane to be unstealable
  982. format slot 26 of player with red stained glass pane to be unstealable
  983. wait 0.6 seconds
  984. set {csgorandom} to a random item out of {csgo::*}
  985. play raw sound "note.harp" at player with pitch 2 volume 5
  986. open chest with 3 rows named "&4CS:GO &eBox" to player
  987. format slot 13 of player with {csgorandom} to be unstealable
  988. format slot 0 of player with yellow stained glass pane to be unstealable
  989. format slot 1 of player with yellow stained glass pane to be unstealable
  990. format slot 2 of player with yellow stained glass pane to be unstealable
  991. format slot 3 of player with yellow stained glass pane to be unstealable
  992. format slot 4 of player with yellow stained glass pane to be unstealable
  993. format slot 5 of player with yellow stained glass pane to be unstealable
  994. format slot 6 of player with yellow stained glass pane to be unstealable
  995. format slot 7 of player with yellow stained glass pane to be unstealable
  996. format slot 8 of player with yellow stained glass pane to be unstealable
  997. format slot 9 of player with yellow stained glass pane to be unstealable
  998. format slot 10 of player with yellow stained glass pane to be unstealable
  999. format slot 11 of player with yellow stained glass pane to be unstealable
  1000. format slot 12 of player with yellow stained glass pane to be unstealable
  1001. format slot 14 of player with yellow stained glass pane to be unstealable
  1002. format slot 15 of player with yellow stained glass pane to be unstealable
  1003. format slot 16 of player with yellow stained glass pane to be unstealable
  1004. format slot 17 of player with yellow stained glass pane to be unstealable
  1005. format slot 18 of player with yellow stained glass pane to be unstealable
  1006. format slot 19 of player with yellow stained glass pane to be unstealable
  1007. format slot 20 of player with yellow stained glass pane to be unstealable
  1008. format slot 21 of player with yellow stained glass pane to be unstealable
  1009. format slot 22 of player with yellow stained glass pane to be unstealable
  1010. format slot 23 of player with yellow stained glass pane to be unstealable
  1011. format slot 24 of player with yellow stained glass pane to be unstealable
  1012. format slot 25 of player with yellow stained glass pane to be unstealable
  1013. format slot 26 of player with yellow stained glass pane to be unstealable
  1014. wait 0.6 seconds
  1015. set {csgorandom} to a random item out of {csgo::*}
  1016. play raw sound "note.harp" at player with pitch 2 volume 5
  1017. open chest with 3 rows named "&4CS:GO &eBox" to player
  1018. format slot 13 of player with {csgorandom} to be unstealable
  1019. format slot 0 of player with blue stained glass pane to be unstealable
  1020. format slot 1 of player with blue stained glass pane to be unstealable
  1021. format slot 2 of player with blue stained glass pane to be unstealable
  1022. format slot 3 of player with blue stained glass pane to be unstealable
  1023. format slot 4 of player with blue stained glass pane to be unstealable
  1024. format slot 5 of player with blue stained glass pane to be unstealable
  1025. format slot 6 of player with blue stained glass pane to be unstealable
  1026. format slot 7 of player with blue stained glass pane to be unstealable
  1027. format slot 8 of player with blue stained glass pane to be unstealable
  1028. format slot 9 of player with blue stained glass pane to be unstealable
  1029. format slot 10 of player with blue stained glass pane to be unstealable
  1030. format slot 11 of player with blue stained glass pane to be unstealable
  1031. format slot 12 of player with blue stained glass pane to be unstealable
  1032. format slot 14 of player with blue stained glass pane to be unstealable
  1033. format slot 15 of player with blue stained glass pane to be unstealable
  1034. format slot 16 of player with blue stained glass pane to be unstealable
  1035. format slot 17 of player with blue stained glass pane to be unstealable
  1036. format slot 18 of player with blue stained glass pane to be unstealable
  1037. format slot 19 of player with blue stained glass pane to be unstealable
  1038. format slot 20 of player with blue stained glass pane to be unstealable
  1039. format slot 21 of player with blue stained glass pane to be unstealable
  1040. format slot 22 of player with blue stained glass pane to be unstealable
  1041. format slot 23 of player with blue stained glass pane to be unstealable
  1042. format slot 24 of player with blue stained glass pane to be unstealable
  1043. format slot 25 of player with blue stained glass pane to be unstealable
  1044. format slot 26 of player with blue stained glass pane to be unstealable
  1045.  
  1046. wait 0.6 seconds
  1047.  
  1048. play raw sound "note.pling" at player with pitch 1 volume 9
  1049.  
  1050. give {csgorandom} to player
  1051.  
  1052. set {mb.csgo} to false
  1053. set {mb.csgo.%player%} to false
  1054. launch creeper firework colored yellow at {mb.csgo.loc.1} timed 0.1
  1055.  
  1056. wait 0.6 seconds
  1057.  
  1058. close inventory of player
  1059.  
  1060. command /drawitemeffect:
  1061. trigger:
  1062. drawSimpleHalo particle "redstone", center {iloc1}, id "draw2", rainbowMode true, visibleRange 30
  1063. drawItemFountain emerald, style 1, center location of {iloc1}, id "draw1", itemTime 1 tick, yVelocity 0.02, radius 2, density 40, displacementXYZ 0, 0, 0, pulseDelay 5
  1064. wait 2 seconds
  1065. stopEffect "draw1"
  1066. stopEffect "draw2"
  1067. drawItemFountain diamond, style 1, center location of {iloc1}, id "draw1", itemTime 1 tick, yVelocity 0.02, radius 2, density 40, displacementXYZ 0, 0, 0, pulseDelay 5
  1068. wait 2 seconds
  1069. drawSimpleHalo particle "flame", center {iloc1}, id "draw2", rainbowMode true, visibleRange 30
  1070. stopEffect "draw1"
  1071. drawItemFountain gold block, style 1, center location of {iloc1}, id "draw1", itemTime 1 tick, yVelocity 0.02, radius 2, density 40, displacementXYZ 0, 0, 0, pulseDelay 5
  1072. wait 2 seconds
  1073. stopEffect "draw1"
  1074. stopEffect "draw2"
  1075. play explode at player with pitch 1
  1076. wait 1 seconds
  1077. launch creeper firework colored yellow at {iloc1} timed 0.1
  1078. wait 0.3 seconds
  1079. give player a random item out of {Mb2::*}
  1080. wait 1 tick
  1081.  
  1082.  
  1083. command /setdrawloc:
  1084. trigger:
  1085. set {iloc1} to location of player
  1086. send "&e&lLocation set!"
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092. #=============================================================================================================#
  1093.  
  1094. #Please read:
  1095.  
  1096. #You are NOT Allowed te sell / resell this skript.
  1097.  
  1098. #You are only allowed to use this skript on your OWN server(s)
  1099.  
  1100. #You are NOT allowed to leak this plugin, and upload it for free on any website.
  1101.  
  1102. #I do NOT refund for buggs etc. buggs will be fixed once someone tells me about one.
  1103.  
  1104. #Please do not edit this code, and act like its yours.
  1105.  
  1106. #If you have any problems at all. PM me on spigot, or add me on skype!
  1107.  
  1108. #=============================================================================================================#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement