Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===================================#
- #MysteryBoxes-sK#
- #------------------#
- #Coded by *KnetterBlits*
- #------------------#
- #Version: Release 1.4.2
- #===================================#
- #----------------------------------------------------------#
- #You will need 3 skript addons for this skript to work!
- #And ofcource you will need skript for this to work!
- #- SkRayFall
- #- SkQuery
- #- SkDragon
- #----------------------------------------------------------#
- #----------------------------------------------------------#
- #What does this skirpt do?
- #This skirpt allows your players to open up random
- #items from a MysteryBox, see this like a csgo case
- #or just a gamble case. +
- #This is perfect for KitPVP, Factions, etc!
- #There also is a command to give players keys,
- #So you could also put this in as a voting reward!
- #The possibility's are endless!
- #----------------------------------------------------------#
- #All the options are listed down here, you can change everything!
- #==============#
- options:
- #In what worlds should MysteryBoxes be enabled?
- Worlds: "Hub" or "Example" or "world"
- #What should the name of the key be?
- NormalKeyName: "&eNormal Key"
- RareKeyName: "&eRare Key"
- CommonKeyName: "&8Common Key"
- MythicalKeyName: "&e&l:&4&lMythical Key&e&l:"
- CSGOKeyName: "&4&lCase Key"
- #What item does the MysteryBox has to be?
- NormalChestBlock: Ender Chest
- RareChestBlock: End Portal Frame
- CommonChestBlock: JukeBox
- MythicalChestBlock: Diamond Block
- CSGOCaseBlock: black stained clay
- #The message players get, when they dont have a key!
- NoKeyMessage: "&cYou dont have a key!"
- #The message when a player tries to open a box, but it is already active!
- AlreadyActiveNormal: "&cThis box is already being opened!"
- AlreadyActiveRare: "&cThis rare box is already being opened!"
- #The speed a player gets pushed back with when clicking with the wrong key#
- PushSpeed: 2
- #Hologram at the end of opening, BE SURE TO NOT USE "" here#
- HologramAtEnd: &eEnjoy your new items!!
- #A broadcast message that everybody in the server will see, when someone is opening a MysteryBox#
- BroadCastMessage: "&c&l%player% &6&lis opening a mysterybox!"
- #The item that will be shown at the end of opening a box, inside the hologram!
- HoloGramItem: diamond # [Has to be an item]
- VariableClearMessage: "&eCleared all the variables!"
- #=============================#
- #All the prices can be set here, command
- #prices are coming soon!
- #To add a price, copy a existing line, for example
- #{Mb::2} and change the "2" to a random number
- #Be sure to NOT create 2 of the same numbers!
- #After changing the number, you can change
- #The item, so as example:
- #{Mb::100} = Sponge
- #{Mb2::100} = Diamond Sword
- #{Mb3::100} = Golden Apple
- #{Mb4::100} = Sponge
- #=============================#
- #Normal box winnings!
- variables:
- {Mb::2} = Diamond
- {Mb::4} = Bone
- {Mb::6} = Stick
- {Mb::8} = Stone
- {Mb::9} = Golden Apple
- {Mb::10} = Stick
- #Common box items!
- {Mb3::1} = Diamond chestplate
- {Mb3::2} = Diamond Leggings
- {Mb3::3} = Diamond Helmet
- {Mb3::4}= Diamond boots
- {Mb3::5} = Golden Apple
- {Mb3::6} = Diamond Sword
- {Mb3::7} = Golden Sword
- {Mb3::8} = Stick
- #Rare box items!
- {Mb2::1} = Diamond chestplate
- {Mb2::2} = Diamond Leggings
- {Mb2::3} = Diamond Helmet
- {Mb2::4}= Diamond boots
- {Mb2::5} = Golden Apple
- {Mb2::6} = Diamond Sword
- {Mb2::7} = Golden Sword
- #Mythical box items!
- {Mb4::1} = Diamond chestplate
- {Mb4::2} = Diamond Leggings
- {Mb4::3} = Diamond Helmet
- {Mb4::4}= Diamond boots
- {Mb4::5} = Golden Apple
- {Mb4::6} = Diamond Sword
- {Mb4::7} = Golden Sword
- #CSGO box items!
- {csgocase::1} = diamond
- {csgocase::2} = stone
- {csgocase::3} = emerald
- {csgocase::4} = gold ingot
- {csgocase::5} = stone sword
- {csgocase::6} = diamond chestplate
- {csgocase::7} = golden apple
- {csgocase::8} = apple
- {csgocase::9} = 32 cobblestone
- {csgocase::10} = 5 iron ingot
- #-----------------------------------------------#
- command /normalkey <player> <number>:
- permission: mb.give.key
- trigger:
- give argument 2 of tripwire hook named {@NormalKeyName} to argument 1
- send "&echange this to whatever youwant %argument 2% normal mysterybox key(s)!"
- command /rarekey <player> <number>:
- permission: mb.give.key
- trigger:
- give argument 2 of tripwire hook named {@RareKeyName} to argument 1
- send "&eYou recieved %argument 2% rare mysterybox key(s)!"
- command /commonkey <player> <number>:
- permission: mb.give.key
- trigger:
- give argument 2 of tripwire hook named {@CommonKeyName} to argument 1
- send "&eYou recieved %argument 2% common mysterybox key(s)!"
- command /mythicalkey <player> <number>:
- permission: mb.give.key
- trigger:
- give argument 2 of tripwire hook named {@MythicalKeyName} to argument 1
- send "&eYou recieved %argument 2% &emythical&e mysterybox key(s)!"
- command /csgokey <player> <number>:
- permission: mb.give
- trigger:
- give argument 2 of tripwire hook named {@CSGOKeyName} to argument 1
- send "&eYou recieved %argument 2% &ecsgo&e case key(s)!"
- #====================================================#
- command /set <text>:
- permission: mb.admin
- trigger:
- if arg 1 is "normal":
- set {mb.location} to location of player
- message "&eNormal MysteryBox location set!"
- if arg 1 is "rare":
- set {mb.location.rare} to location of player
- message "&eRare MysteryBox location set!"
- if arg 1 is "common":
- set {mb.location.common} to location of player
- message "&eCommon MysteryBox location set!"
- if arg 1 is "mythical":
- set {mb.location.mythical} to location of player
- message "&eMythical MysteryBox location set!"
- #====================================================#
- command /clearprices:
- permission: mb.admin
- trigger:
- message {@VariableClearMessage}
- wait 4 seconds
- clear {Mb::*}
- clear {enchantment::*}
- clear {Mb2::*}
- clear {Mb3::*}
- clear {Mb4::*}
- message "&6&l----------------------------------"
- message "&c&lCleared all the prices! Be sure to reload the plugin!"
- message "&6&l----------------------------------"
- #====================================================#
- on rightclick holding a tripwire hook:
- world is {@Worlds}:
- if {mb.open1} is true:
- cancel event
- message {@AlreadyActiveNormal}
- stop
- if clicked block is a {@NormalChestBlock}:
- cancel event
- set {mb.open1} to true
- remove 1 tripwire hook from player
- #===================================================================#
- broadcast {@BroadCastMessage}
- set {db.block3} to location 3 blocks above {mb.location}
- drawSimpleHalo particle "redstone", center {db.block3}, id "3", rainbowMode true, visibleRange 30
- 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
- wait 0.3 seconds
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- #-----------------------#
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- #--------------------#
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- create a bleed effect at location of {mb.location} with id "100"
- #-------#
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- stopEffect "3"
- set {db.block2} to location 10 blocks above {mb.location}
- wait 1 seconds
- stopEffect id "%player%"
- stopEffect id "1"
- create an explosion of force 2 at {db.block2}
- delete effect "100"
- wait 0.7 seconds
- strike lightning at {mb.location}
- wait 1 tick
- #===================================================================#s
- play level up at player with pitch 1
- launch creeper firework colored yellow at {mb.location} timed 0.1
- #===================================================================#
- give player a random item out of {mb::*}
- set {mb.open1} to false
- stop
- #======RareChest=======================================================#
- if {mb.open2} is true:
- cancel event
- message {@AlreadyActiveRare}
- stop
- if clicked block is a {@RareChestBlock}:
- if name of player's tool is {@RareKeyName}:
- broadcast {@BroadCastMessage}
- cancel event
- remove 1 tripwire hook from player
- play "EXPLODE" to player
- #-----------------------#EFFECT-####################################
- play "CLICK" to player
- set {mb.location3} to location 1 blocks above {mb.location.rare}
- wait 0.2 seconds
- 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
- drawSimpleHalo particle "redstone", center {mb.location.rare}, id "%player%", rainbowMode true, visibleRange 30
- wait 3 seconds
- create a bleed effect at location of {mb.location.rare} with id "100"
- wait 3 seconds
- set {mb.location2} to location 1 blocks above {mb.location.rare}
- wait 1 tick
- show 400 "flame" particles at {mb.location2} for player offset by 4, 1, 3
- show 400 "cloud" particles at {mb.location2} for player offset by 4, 1, 3
- play explode at player with pitch 1
- wait 1 tick
- delete effect "100"
- stopEffect "2"
- wait 1.5 seconds
- strike lightning at {mb.location.rare}
- drawCylinder particle "lava", center location of {mb.location3}, id "2", randomRotation false, isSolid true, radius .05, density .05, height .10, sideRatio 0, visibleRange 30
- play level up at player with pitch 1
- launch creeper firework colored yellow at {mb.location.rare} timed 0.1
- give player a random item out of {Mb2::*}
- wait 1 tick
- stopEffect "1"
- stopEffect "%player%"
- stopEffect "2"
- stop
- if {mb.open3} is true:
- cancel event
- message {@AlreadyActiveRare}
- stop
- if clicked block is a {@CommonChestBlock}:
- if name of player's tool is {@CommonKeyName}:
- remove 1 tripwire hook from player
- set {mb.open3} to true
- cancel event
- broadcast {@BroadCastMessage}
- set {db.4} to location 5 blocks above {mb.location.common}
- wait 0.3 seconds
- 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
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.3 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 0.1 seconds
- 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
- wait 0.1 seconds
- stopEffect "2"
- wait 2 ticks
- 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
- wait 2 seconds
- strike lightning at {mb.location.common}
- wait 2 ticks
- show 400 "flame" particles at {mb.location.common} for player offset by 0.7, 1, 3
- stopEffect "17"
- stopEffect "18"
- wait 15 ticks
- play level up at player with pitch 1
- launch creeper firework colored yellow at {mb.location.common} timed 0.1
- give player a random item out of {Mb3::*}
- set {mb.open3} to false
- stop
- wait 1 tick
- give player a random item out of {Mb2::*}
- set {mb.open3} to false
- #---------------------------------#Mythical#-------------------------------------------------#
- if {mb.open4} is true:
- cancel event
- message {@AlreadyActiveRare}
- stop
- if clicked block is a {@MythicalChestBlock}:
- if name of player's tool is {@MythicalKeyName}:
- cancel event
- remove 1 tripwire hook from player
- play "EXPLODE" to player
- #-----------------------#EFFECT-####################################
- play "CLICK" to player
- set {mb.open4} to true
- broadcast {@BroadCastMessage}
- 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
- 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
- wait 3.2 seconds
- stopEffect "200"
- wait 1 tick
- 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
- wait 3.2 seconds
- stopEffect "m1"
- wait 1 tick
- 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
- wait 3.2 seconds
- stopEffect "m1"
- wait 1 tick
- play "CLICK" to player
- 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
- 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
- wait 3.2 seconds
- stopEffect "m1"
- stopEffect "m2"
- set {mb.mythical.loc2} to location 3 blocks above {mb.location.mythical}
- set {mb.mythical.loc3} to location 7 blocks above {mb.location.mythical}
- set {mb.mythical.loc4} to location 11 blocks above {mb.location.mythical}
- wait 1 tick
- play "CLICK" to player
- 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
- wait 1.5 seconds
- play "CLICK" to player
- 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
- wait 1.5 seconds
- 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
- wait 1.5 seconds
- strike lightning at {mb.location.mythical}
- stopEffect "m3"
- stopEffect "m4"
- stopEffect "m5"
- wait 1 tick
- 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
- wait 0.3 seconds
- stopEffect "m6"
- stopEffect "200"
- stopEffect "201"
- play level up at player with pitch 1
- launch creeper firework colored yellow at {mb.location.mythical} timed 0.1
- give player a random item out of {Mb4::*}
- wait 1 tick
- set {mb.open4} to false
- command /rarestop:
- trigger:
- set {mb.open2} to false
- stop
- #================Events=====================#
- on rightclick on {@NormalChestBlock}:
- world is {@Worlds}:
- if player's tool is tripwire hook named {@NormalKeyName}:
- stop
- if player's tool is not tripwire hook named {@NormalKeyName}:
- cancel event
- send {@NoKeyMessage}
- push the player backwards at speed {@PushSpeed}
- on rightclick on {@RareChestBlock}:
- world is {@Worlds}:
- if player's tool is tripwire hook named {@RareKeyName}:
- stop
- if player's tool is not tripwire hook named {@RareKeyName}:
- cancel event
- send {@NoKeyMessage}
- push the player backwards at speed {@PushSpeed}
- on rightclick on {@CommonChestBlock}:
- world is {@Worlds}:
- if player's tool is tripwire hook named {@CommonKeyName}:
- stop
- if player's tool is not tripwire hook named {@CommonKeyName}:
- cancel event
- send {@NoKeyMessage}
- push the player backwards at speed {@PushSpeed}
- on rightclick on {@MythicalChestBlock}:
- world is {@Worlds}:
- if player's tool is tripwire hook named {@MythicalKeyName}:
- stop
- if player's tool is not tripwire hook named {@MythicalKeyName}:
- cancel event
- send {@NoKeyMessage}
- push the player backwards at speed {@PushSpeed}
- on rightclick on {@CSGOCaseBlock}:
- world is {@Worlds}:
- if player's tool is tripwire hook named {@CSGOKeyName}:
- stop
- if player's tool is not tripwire hook named {@CSGOKeyName}:
- cancel event
- send {@NoKeyMessage}
- push the player backwards at speed {@PushSpeed}
- on skript load:
- set {mb.open2} to false
- set {mb.open1} to false
- set {mb.open3} to false
- set {mb.open4} to false
- set {mb.csgo} to false
- set {mb} to false
- #----------------------------------------------------------------------------------------------------------------------------#
- command /mbsetupgui:
- permission: mb.setup.gui
- trigger:
- wait 0.1 seconds
- open chest with 4 row named "&4&lComing Soon..." to player
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- 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 ""]
- on rightclick:
- if clicked block is {@CSGOCaseBlock}:
- if {mb.csgo} is true:
- cancel event
- message {@AlreadyActiveRare}
- stop
- if name of player's tool is {@CSGOKeyName}:
- cancel event
- remove 1 tripwire hook from player
- wait 2 ticks
- set {mb.csgo} to true
- open chest with 3 rows named "&4CS:GO &eBox" to player
- wait 0.1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- set {mb.csgo.%player%} to true
- broadcast {@BroadCastMessage}
- set {mb.csgo.loc.1} to location of clicked block
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with red stained glass pane to be unstealable
- format slot 1 of player with red stained glass pane to be unstealable
- format slot 2 of player with red stained glass pane to be unstealable
- format slot 3 of player with red stained glass pane to be unstealable
- format slot 4 of player with red stained glass pane to be unstealable
- format slot 5 of player with red stained glass pane to be unstealable
- format slot 6 of player with red stained glass pane to be unstealable
- format slot 7 of player with red stained glass pane to be unstealable
- format slot 8 of player with red stained glass pane to be unstealable
- format slot 9 of player with red stained glass pane to be unstealable
- format slot 10 of player with red stained glass pane to be unstealable
- format slot 11 of player with red stained glass pane to be unstealable
- format slot 12 of player with red stained glass pane to be unstealable
- format slot 14 of player with red stained glass pane to be unstealable
- format slot 15 of player with red stained glass pane to be unstealable
- format slot 16 of player with red stained glass pane to be unstealable
- format slot 17 of player with red stained glass pane to be unstealable
- format slot 18 of player with red stained glass pane to be unstealable
- format slot 19 of player with red stained glass pane to be unstealable
- format slot 20 of player with red stained glass pane to be unstealable
- format slot 21 of player with red stained glass pane to be unstealable
- format slot 22 of player with red stained glass pane to be unstealable
- format slot 23 of player with red stained glass pane to be unstealable
- format slot 24 of player with red stained glass pane to be unstealable
- format slot 25 of player with red stained glass pane to be unstealable
- format slot 26 of player with red stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with yellow stained glass pane to be unstealable
- format slot 1 of player with yellow stained glass pane to be unstealable
- format slot 2 of player with yellow stained glass pane to be unstealable
- format slot 3 of player with yellow stained glass pane to be unstealable
- format slot 4 of player with yellow stained glass pane to be unstealable
- format slot 5 of player with yellow stained glass pane to be unstealable
- format slot 6 of player with yellow stained glass pane to be unstealable
- format slot 7 of player with yellow stained glass pane to be unstealable
- format slot 8 of player with yellow stained glass pane to be unstealable
- format slot 9 of player with yellow stained glass pane to be unstealable
- format slot 10 of player with yellow stained glass pane to be unstealable
- format slot 11 of player with yellow stained glass pane to be unstealable
- format slot 12 of player with yellow stained glass pane to be unstealable
- format slot 14 of player with yellow stained glass pane to be unstealable
- format slot 15 of player with yellow stained glass pane to be unstealable
- format slot 16 of player with yellow stained glass pane to be unstealable
- format slot 17 of player with yellow stained glass pane to be unstealable
- format slot 18 of player with yellow stained glass pane to be unstealable
- format slot 19 of player with yellow stained glass pane to be unstealable
- format slot 20 of player with yellow stained glass pane to be unstealable
- format slot 21 of player with yellow stained glass pane to be unstealable
- format slot 22 of player with yellow stained glass pane to be unstealable
- format slot 23 of player with yellow stained glass pane to be unstealable
- format slot 24 of player with yellow stained glass pane to be unstealable
- format slot 25 of player with yellow stained glass pane to be unstealable
- format slot 26 of player with yellow stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with blue stained glass pane to be unstealable
- format slot 1 of player with blue stained glass pane to be unstealable
- format slot 2 of player with blue stained glass pane to be unstealable
- format slot 3 of player with blue stained glass pane to be unstealable
- format slot 4 of player with blue stained glass pane to be unstealable
- format slot 5 of player with blue stained glass pane to be unstealable
- format slot 6 of player with blue stained glass pane to be unstealable
- format slot 7 of player with blue stained glass pane to be unstealable
- format slot 8 of player with blue stained glass pane to be unstealable
- format slot 9 of player with blue stained glass pane to be unstealable
- format slot 10 of player with blue stained glass pane to be unstealable
- format slot 11 of player with blue stained glass pane to be unstealable
- format slot 12 of player with blue stained glass pane to be unstealable
- format slot 14 of player with blue stained glass pane to be unstealable
- format slot 15 of player with blue stained glass pane to be unstealable
- format slot 16 of player with blue stained glass pane to be unstealable
- format slot 17 of player with blue stained glass pane to be unstealable
- format slot 18 of player with blue stained glass pane to be unstealable
- format slot 19 of player with blue stained glass pane to be unstealable
- format slot 20 of player with blue stained glass pane to be unstealable
- format slot 21 of player with blue stained glass pane to be unstealable
- format slot 22 of player with blue stained glass pane to be unstealable
- format slot 23 of player with blue stained glass pane to be unstealable
- format slot 24 of player with blue stained glass pane to be unstealable
- format slot 25 of player with blue stained glass pane to be unstealable
- format slot 26 of player with blue stained glass pane to be unstealable
- wait 0.1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with red stained glass pane to be unstealable
- format slot 1 of player with red stained glass pane to be unstealable
- format slot 2 of player with red stained glass pane to be unstealable
- format slot 3 of player with red stained glass pane to be unstealable
- format slot 4 of player with red stained glass pane to be unstealable
- format slot 5 of player with red stained glass pane to be unstealable
- format slot 6 of player with red stained glass pane to be unstealable
- format slot 7 of player with red stained glass pane to be unstealable
- format slot 8 of player with red stained glass pane to be unstealable
- format slot 9 of player with red stained glass pane to be unstealable
- format slot 10 of player with red stained glass pane to be unstealable
- format slot 11 of player with red stained glass pane to be unstealable
- format slot 12 of player with red stained glass pane to be unstealable
- format slot 14 of player with red stained glass pane to be unstealable
- format slot 15 of player with red stained glass pane to be unstealable
- format slot 16 of player with red stained glass pane to be unstealable
- format slot 17 of player with red stained glass pane to be unstealable
- format slot 18 of player with red stained glass pane to be unstealable
- format slot 19 of player with red stained glass pane to be unstealable
- format slot 20 of player with red stained glass pane to be unstealable
- format slot 21 of player with red stained glass pane to be unstealable
- format slot 22 of player with red stained glass pane to be unstealable
- format slot 23 of player with red stained glass pane to be unstealable
- format slot 24 of player with red stained glass pane to be unstealable
- format slot 25 of player with red stained glass pane to be unstealable
- format slot 26 of player with red stained glass pane to be unstealable
- wait 1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with yellow stained glass pane to be unstealable
- format slot 1 of player with yellow stained glass pane to be unstealable
- format slot 2 of player with yellow stained glass pane to be unstealable
- format slot 3 of player with yellow stained glass pane to be unstealable
- format slot 4 of player with yellow stained glass pane to be unstealable
- format slot 5 of player with yellow stained glass pane to be unstealable
- format slot 6 of player with yellow stained glass pane to be unstealable
- format slot 7 of player with yellow stained glass pane to be unstealable
- format slot 8 of player with yellow stained glass pane to be unstealable
- format slot 9 of player with yellow stained glass pane to be unstealable
- format slot 10 of player with yellow stained glass pane to be unstealable
- format slot 11 of player with yellow stained glass pane to be unstealable
- format slot 12 of player with yellow stained glass pane to be unstealable
- format slot 14 of player with yellow stained glass pane to be unstealable
- format slot 15 of player with yellow stained glass pane to be unstealable
- format slot 16 of player with yellow stained glass pane to be unstealable
- format slot 17 of player with yellow stained glass pane to be unstealable
- format slot 18 of player with yellow stained glass pane to be unstealable
- format slot 19 of player with yellow stained glass pane to be unstealable
- format slot 20 of player with yellow stained glass pane to be unstealable
- format slot 21 of player with yellow stained glass pane to be unstealable
- format slot 22 of player with yellow stained glass pane to be unstealable
- format slot 23 of player with yellow stained glass pane to be unstealable
- format slot 24 of player with yellow stained glass pane to be unstealable
- format slot 25 of player with yellow stained glass pane to be unstealable
- format slot 26 of player with yellow stained glass pane to be unstealable
- wait 1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with blue stained glass pane to be unstealable
- format slot 1 of player with blue stained glass pane to be unstealable
- format slot 2 of player with blue stained glass pane to be unstealable
- format slot 3 of player with blue stained glass pane to be unstealable
- format slot 4 of player with blue stained glass pane to be unstealable
- format slot 5 of player with blue stained glass pane to be unstealable
- format slot 6 of player with blue stained glass pane to be unstealable
- format slot 7 of player with blue stained glass pane to be unstealable
- format slot 8 of player with blue stained glass pane to be unstealable
- format slot 9 of player with blue stained glass pane to be unstealable
- format slot 10 of player with blue stained glass pane to be unstealable
- format slot 11 of player with blue stained glass pane to be unstealable
- format slot 12 of player with blue stained glass pane to be unstealable
- format slot 14 of player with blue stained glass pane to be unstealable
- format slot 15 of player with blue stained glass pane to be unstealable
- format slot 16 of player with blue stained glass pane to be unstealable
- format slot 17 of player with blue stained glass pane to be unstealable
- format slot 18 of player with blue stained glass pane to be unstealable
- format slot 19 of player with blue stained glass pane to be unstealable
- format slot 20 of player with blue stained glass pane to be unstealable
- format slot 21 of player with blue stained glass pane to be unstealable
- format slot 22 of player with blue stained glass pane to be unstealable
- format slot 23 of player with blue stained glass pane to be unstealable
- format slot 24 of player with blue stained glass pane to be unstealable
- format slot 25 of player with blue stained glass pane to be unstealable
- format slot 26 of player with blue stained glass pane to be unstealable
- wait 0.1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with red stained glass pane to be unstealable
- format slot 1 of player with red stained glass pane to be unstealable
- format slot 2 of player with red stained glass pane to be unstealable
- format slot 3 of player with red stained glass pane to be unstealable
- format slot 4 of player with red stained glass pane to be unstealable
- format slot 5 of player with red stained glass pane to be unstealable
- format slot 6 of player with red stained glass pane to be unstealable
- format slot 7 of player with red stained glass pane to be unstealable
- format slot 8 of player with red stained glass pane to be unstealable
- format slot 9 of player with red stained glass pane to be unstealable
- format slot 10 of player with red stained glass pane to be unstealable
- format slot 11 of player with red stained glass pane to be unstealable
- format slot 12 of player with red stained glass pane to be unstealable
- format slot 14 of player with red stained glass pane to be unstealable
- format slot 15 of player with red stained glass pane to be unstealable
- format slot 16 of player with red stained glass pane to be unstealable
- format slot 17 of player with red stained glass pane to be unstealable
- format slot 18 of player with red stained glass pane to be unstealable
- format slot 19 of player with red stained glass pane to be unstealable
- format slot 20 of player with red stained glass pane to be unstealable
- format slot 21 of player with red stained glass pane to be unstealable
- format slot 22 of player with red stained glass pane to be unstealable
- format slot 23 of player with red stained glass pane to be unstealable
- format slot 24 of player with red stained glass pane to be unstealable
- format slot 25 of player with red stained glass pane to be unstealable
- format slot 26 of player with red stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with yellow stained glass pane to be unstealable
- format slot 1 of player with yellow stained glass pane to be unstealable
- format slot 2 of player with yellow stained glass pane to be unstealable
- format slot 3 of player with yellow stained glass pane to be unstealable
- format slot 4 of player with yellow stained glass pane to be unstealable
- format slot 5 of player with yellow stained glass pane to be unstealable
- format slot 6 of player with yellow stained glass pane to be unstealable
- format slot 7 of player with yellow stained glass pane to be unstealable
- format slot 8 of player with yellow stained glass pane to be unstealable
- format slot 9 of player with yellow stained glass pane to be unstealable
- format slot 10 of player with yellow stained glass pane to be unstealable
- format slot 11 of player with yellow stained glass pane to be unstealable
- format slot 12 of player with yellow stained glass pane to be unstealable
- format slot 14 of player with yellow stained glass pane to be unstealable
- format slot 15 of player with yellow stained glass pane to be unstealable
- format slot 16 of player with yellow stained glass pane to be unstealable
- format slot 17 of player with yellow stained glass pane to be unstealable
- format slot 18 of player with yellow stained glass pane to be unstealable
- format slot 19 of player with yellow stained glass pane to be unstealable
- format slot 20 of player with yellow stained glass pane to be unstealable
- format slot 21 of player with yellow stained glass pane to be unstealable
- format slot 22 of player with yellow stained glass pane to be unstealable
- format slot 23 of player with yellow stained glass pane to be unstealable
- format slot 24 of player with yellow stained glass pane to be unstealable
- format slot 25 of player with yellow stained glass pane to be unstealable
- format slot 26 of player with yellow stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with blue stained glass pane to be unstealable
- format slot 1 of player with blue stained glass pane to be unstealable
- format slot 2 of player with blue stained glass pane to be unstealable
- format slot 3 of player with blue stained glass pane to be unstealable
- format slot 4 of player with blue stained glass pane to be unstealable
- format slot 5 of player with blue stained glass pane to be unstealable
- format slot 6 of player with blue stained glass pane to be unstealable
- format slot 7 of player with blue stained glass pane to be unstealable
- format slot 8 of player with blue stained glass pane to be unstealable
- format slot 9 of player with blue stained glass pane to be unstealable
- format slot 10 of player with blue stained glass pane to be unstealable
- format slot 11 of player with blue stained glass pane to be unstealable
- format slot 12 of player with blue stained glass pane to be unstealable
- format slot 14 of player with blue stained glass pane to be unstealable
- format slot 15 of player with blue stained glass pane to be unstealable
- format slot 16 of player with blue stained glass pane to be unstealable
- format slot 17 of player with blue stained glass pane to be unstealable
- format slot 18 of player with blue stained glass pane to be unstealable
- format slot 19 of player with blue stained glass pane to be unstealable
- format slot 20 of player with blue stained glass pane to be unstealable
- format slot 21 of player with blue stained glass pane to be unstealable
- format slot 22 of player with blue stained glass pane to be unstealable
- format slot 23 of player with blue stained glass pane to be unstealable
- format slot 24 of player with blue stained glass pane to be unstealable
- format slot 25 of player with blue stained glass pane to be unstealable
- format slot 26 of player with blue stained glass pane to be unstealable
- wait 0.1 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with red stained glass pane to be unstealable
- format slot 1 of player with red stained glass pane to be unstealable
- format slot 2 of player with red stained glass pane to be unstealable
- format slot 3 of player with red stained glass pane to be unstealable
- format slot 4 of player with red stained glass pane to be unstealable
- format slot 5 of player with red stained glass pane to be unstealable
- format slot 6 of player with red stained glass pane to be unstealable
- format slot 7 of player with red stained glass pane to be unstealable
- format slot 8 of player with red stained glass pane to be unstealable
- format slot 9 of player with red stained glass pane to be unstealable
- format slot 10 of player with red stained glass pane to be unstealable
- format slot 11 of player with red stained glass pane to be unstealable
- format slot 12 of player with red stained glass pane to be unstealable
- format slot 14 of player with red stained glass pane to be unstealable
- format slot 15 of player with red stained glass pane to be unstealable
- format slot 16 of player with red stained glass pane to be unstealable
- format slot 17 of player with red stained glass pane to be unstealable
- format slot 18 of player with red stained glass pane to be unstealable
- format slot 19 of player with red stained glass pane to be unstealable
- format slot 20 of player with red stained glass pane to be unstealable
- format slot 21 of player with red stained glass pane to be unstealable
- format slot 22 of player with red stained glass pane to be unstealable
- format slot 23 of player with red stained glass pane to be unstealable
- format slot 24 of player with red stained glass pane to be unstealable
- format slot 25 of player with red stained glass pane to be unstealable
- format slot 26 of player with red stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with yellow stained glass pane to be unstealable
- format slot 1 of player with yellow stained glass pane to be unstealable
- format slot 2 of player with yellow stained glass pane to be unstealable
- format slot 3 of player with yellow stained glass pane to be unstealable
- format slot 4 of player with yellow stained glass pane to be unstealable
- format slot 5 of player with yellow stained glass pane to be unstealable
- format slot 6 of player with yellow stained glass pane to be unstealable
- format slot 7 of player with yellow stained glass pane to be unstealable
- format slot 8 of player with yellow stained glass pane to be unstealable
- format slot 9 of player with yellow stained glass pane to be unstealable
- format slot 10 of player with yellow stained glass pane to be unstealable
- format slot 11 of player with yellow stained glass pane to be unstealable
- format slot 12 of player with yellow stained glass pane to be unstealable
- format slot 14 of player with yellow stained glass pane to be unstealable
- format slot 15 of player with yellow stained glass pane to be unstealable
- format slot 16 of player with yellow stained glass pane to be unstealable
- format slot 17 of player with yellow stained glass pane to be unstealable
- format slot 18 of player with yellow stained glass pane to be unstealable
- format slot 19 of player with yellow stained glass pane to be unstealable
- format slot 20 of player with yellow stained glass pane to be unstealable
- format slot 21 of player with yellow stained glass pane to be unstealable
- format slot 22 of player with yellow stained glass pane to be unstealable
- format slot 23 of player with yellow stained glass pane to be unstealable
- format slot 24 of player with yellow stained glass pane to be unstealable
- format slot 25 of player with yellow stained glass pane to be unstealable
- format slot 26 of player with yellow stained glass pane to be unstealable
- wait 0.6 seconds
- set {csgorandom} to a random item out of {csgo::*}
- play raw sound "note.harp" at player with pitch 2 volume 5
- open chest with 3 rows named "&4CS:GO &eBox" to player
- format slot 13 of player with {csgorandom} to be unstealable
- format slot 0 of player with blue stained glass pane to be unstealable
- format slot 1 of player with blue stained glass pane to be unstealable
- format slot 2 of player with blue stained glass pane to be unstealable
- format slot 3 of player with blue stained glass pane to be unstealable
- format slot 4 of player with blue stained glass pane to be unstealable
- format slot 5 of player with blue stained glass pane to be unstealable
- format slot 6 of player with blue stained glass pane to be unstealable
- format slot 7 of player with blue stained glass pane to be unstealable
- format slot 8 of player with blue stained glass pane to be unstealable
- format slot 9 of player with blue stained glass pane to be unstealable
- format slot 10 of player with blue stained glass pane to be unstealable
- format slot 11 of player with blue stained glass pane to be unstealable
- format slot 12 of player with blue stained glass pane to be unstealable
- format slot 14 of player with blue stained glass pane to be unstealable
- format slot 15 of player with blue stained glass pane to be unstealable
- format slot 16 of player with blue stained glass pane to be unstealable
- format slot 17 of player with blue stained glass pane to be unstealable
- format slot 18 of player with blue stained glass pane to be unstealable
- format slot 19 of player with blue stained glass pane to be unstealable
- format slot 20 of player with blue stained glass pane to be unstealable
- format slot 21 of player with blue stained glass pane to be unstealable
- format slot 22 of player with blue stained glass pane to be unstealable
- format slot 23 of player with blue stained glass pane to be unstealable
- format slot 24 of player with blue stained glass pane to be unstealable
- format slot 25 of player with blue stained glass pane to be unstealable
- format slot 26 of player with blue stained glass pane to be unstealable
- wait 0.6 seconds
- play raw sound "note.pling" at player with pitch 1 volume 9
- give {csgorandom} to player
- set {mb.csgo} to false
- set {mb.csgo.%player%} to false
- launch creeper firework colored yellow at {mb.csgo.loc.1} timed 0.1
- wait 0.6 seconds
- close inventory of player
- command /drawitemeffect:
- trigger:
- drawSimpleHalo particle "redstone", center {iloc1}, id "draw2", rainbowMode true, visibleRange 30
- 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
- wait 2 seconds
- stopEffect "draw1"
- stopEffect "draw2"
- 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
- wait 2 seconds
- drawSimpleHalo particle "flame", center {iloc1}, id "draw2", rainbowMode true, visibleRange 30
- stopEffect "draw1"
- 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
- wait 2 seconds
- stopEffect "draw1"
- stopEffect "draw2"
- play explode at player with pitch 1
- wait 1 seconds
- launch creeper firework colored yellow at {iloc1} timed 0.1
- wait 0.3 seconds
- give player a random item out of {Mb2::*}
- wait 1 tick
- command /setdrawloc:
- trigger:
- set {iloc1} to location of player
- send "&e&lLocation set!"
- #=============================================================================================================#
- #Please read:
- #You are NOT Allowed te sell / resell this skript.
- #You are only allowed to use this skript on your OWN server(s)
- #You are NOT allowed to leak this plugin, and upload it for free on any website.
- #I do NOT refund for buggs etc. buggs will be fixed once someone tells me about one.
- #Please do not edit this code, and act like its yours.
- #If you have any problems at all. PM me on spigot, or add me on skype!
- #=============================================================================================================#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement