#Skrypt na klejnoty #By SirSKPlus #<3 GIVE ME + on break stone: chance of 0.01: execute console command "/give %player% emerald 1 name:&c&lHeroiczny_Item" send "&7Gratulacje, Znalazles &c&lHeroicznyItem!" chance of 9.04: execute console command "/give %player% 351:4 1 name:&c&lLapisowy_Krystal" send "&7Gratulacje, Znalazles &c&lLapisowy_Kryształ!" chance of 55.20: execute console command "/give %player% oak 1 name:&3&lZniszczona_Moneta" send "&7Gratulacje, Znalazles &3&lZniszczona Moneta!" chance of 22.01: execute console command "/give %player% gold 1 name:&3&lZłota_Moneta" send "&7Gratulacje, Znalazles &3&lZłota Moneta!" chance of 32.05: execute console command "/give %player% iron 1 name:&e&lŻelazna_Moneta" send "&7Gratulacje, Znalazles &e&lŻelazna Moneta!" chance of 12.5: execute console command "/give %player% obsidian 1 name:&a&lTwardaMoneta" send "&7Gratulacje, Znalazles &a&lTwardą monete!" chance of 0.93: execute console command "/give %player% diamond 1 name:&b&lRubin" send "&7Gratulacje, Znalazles &b&lRubin!" add to 51 exp chance of 0.33: execute console command "/give %player% diamond 1 name:&b&lSzafir" send "&7Gratulacje, Znalazles &b&lLEGENDARNY SZAFIR!" add to 51 exp chance of 0.13: execute console command "/give %player% diamond 1 name:&b&lOdlamek Rolexa" send "&7Gratulacje, Znalazles &b&lOdlamek Rolexa(szansa 0.13%)!" add to 51 exp command /klejnot: trigger: open chest with 1 rows named "&1Klejnoty" to player wait 2 tick format slot 0 of player with 1 of emerald named "&8>>&aHeroicznyItem" with lore "&8>> &6Szansa &8>> &60.01%" to close format slot 1 of player with 1 of 351:4 named "&8>>&eLapisowy Krysztal" with lore "&8>> &6Szansa &8>> &69.4%" to close format slot 2 of player with 1 of oak named "&8>>&bZniszczonaMoneta" with lore "&8>> &6Szansa &8>> &655.20%" to close format slot 3 of player with 1 of gold named "&8>>&fZlotaM" with lore "&8>> &6Szansa &8>> &622.01 % " to close format slot 4 of player with 1 of iron named "&8>>&7ZelaznaM" with lore "&8>> &6Szansa &8>> &632.05%" to close format slot 5 of player with 1 of 264 named "&8>>&5Rubin " with lore "&8>> &6Szansa &8>> &60.93 %" to close format slot 6 of player with 1 of obsidian named "&8>>&5TwardaMoneta " with lore "&8>> &6Szansa &8>> &612.5%" to close format slot 7 of player with 1 of 264 named "&8>>&5Szafir" with lore "&8>> &6Szansa &8>> &60.33%" to close format slot 8 of player with 1 of 264 named "&8>>&5RolexOdlamek" with lore "&8>> &6Szansa &8>> &60.13%" to close on place chest: if player's tool is chest named "&6&lKlejnotChest": set block to air wait 0.1 second set block to sand wait 0.1 second set block to diamond block wait 0.1 second set block to sand wait 0.1 second set block to diamond block wait 0.1 second set block to air broadcast "&7Gracz &f&l%player% &6&lOtworzyl Klejnot Chest! &7 i wydropil:" chance of 10%: drop 5 351:4 named "&c&lLapisowy_Krystal" broadcast "&75x &fLapis Krystal" chance of 10%: drop 10 iron named "&e&lŻelazna_Moneta" broadcast "&f10ZelaznaMoneta" chance of 10%: drop 10 gold named "&3&lZłota_Moneta" broadcast "&710xZlotychMonet" chance of 10%: drop 20 oak named "&3&lZniszczona_Moneta" broadcast "&720xZniszczonychMonet" chance of 5%: drop 1 diamond named "&b&lRubin" broadcast "&71Rubin" chance of 5%: drop 1 diamond named "&b&lSzafir" broadcast "&71x Szafir" chance of 20%: drop 64 gold ingot broadcast "&764x &fzloto" chance of 10%: drop 10 obsidian named "&aTwardaMoneta" broadcast "&710x &fTwardaMoneta" chance of 1%: drop 1 diamond named "&b&lOdlamek Rolexa" broadcast "&a&lODLAMEK ROLEXA!!!!! &c&lGRATULUJEMY!" command /dajmonete: trigger: open chest with 1 rows named "&cKtórą Chcesz Dać?" to player wait 2 tick format slot 0 of player with 1 of oak named "&cDaj ZniszczonaMonete" to run [make player execute command "dajzniszczonamoneta"] format slot 1 of player with 1 of gold named "&cDaj ZlotaMoneta" to run [make player execute command "dajzlotamoneta"] format slot 2 of player with 1 of iron named "&cDaj ZelaznaMoneta" to run [make player execute command "dajzelaznamoneta"] format slot 3 of player with 1 of obsidian named "&cDaj TwardaMoneta" to run [make player execute command "dajtwardamoneta"] format slot 4 of player with 1 of diamond named "&cDaj Rubin" to run [make player execute command "dajrubin"] format slot 5 of player with 1 of diamond named "&cDaj Szafir" to run [make player execute command "dajszafir"] format slot 6 of player with 1 of diamond named "&cDaj Rolex" to run [make player execute command "dajrolex"] format slot 7 of player with 1 of diamond named "&cDaj lapis" to run [make player execute command "dajlapis"] format slot 8 of player with 1 of paper named "&c-" to run [make player execute command ""] command /dajzniszczonamoneta []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give oak named "&3&lZniszczona_Moneta" to all players broadcast "&6&lDostales zniszczona moneta x1" command /dajzlotamoneta []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give gold named "&3&lZłota_Moneta" to all players broadcast "&6&lDostales zlota moneta x1" command /dajzelaznamoneta []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give iron named "&e&lŻelazna_Moneta" to all players command /dajtwardamoneta []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give obsidian named "&a<wardaMoneta" to all players command /dajrubin []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give diamond named "&b&lRubin" to all players command /dajszafir []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give diamond named "&b&lSzafir" to all players command /dajrolex []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give diamond named "&b&lOdlamek Rolexa" to all players command /dajlapis []: permission: dajmonete.sk trigger: if arg 1 is set: set {_n} to arg 1 parsed as number loop {_n} times: give 351:4 named "&c&lLapisowy_Krystal" to all players command /chestall: permission: dajmonete.sk trigger: broadcast "&c&lWszyscy Dostali KRYSTAL CHEST" give 1 chest named "&6&lKlejnotChest" to all players command /chestdajsb: permission: dajmonete.sk trigger: send "&c&lDales Sobie KlejnotCHEST" give 1 chest named "&6&lKlejnotChest" to the player command /chestdaj []: permission: dajmonete.sk trigger: send "&3&lOtrzymales KlejnotCHEST" to the argument 1 broadcast "&6%player% Kupil KlejnotChest!!!!" give 1 chest named "&6&lKlejnotChest" to the argument 1 command /klejnotchest: trigger: open chest with 1 rows named "&cCoChceszWybrac" to player wait 2 tick format slot 0 of player with 1 of paper named "&cDROPY" to run [make player execute command "chestdrop"] format slot 1 of player with 1 of paper named "&cDaj Serwerowi" to run [make player execute command "chestall"] format slot 2 of player with 1 of paper named "&cDaj Sobie" to run [make player execute command "chestdajsb"] format slot 3 of player with 1 of diamond named "&c" to run [make player execute command ""] format slot 4 of player with 1 of diamond named "&c" to run [make player execute command ""] format slot 5 of player with 1 of diamond named "&c" to run [make player execute command ""] format slot 6 of player with 1 of diamond named "&c" to run [make player execute command ""] format slot 7 of player with 1 of diamond named "&c" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&c-" to run [make player execute command ""] command /chestdrop: trigger: open chest with 1 rows named "&cSzansa NA MONETY" to player wait 2 tick format slot 0 of player with 1 of paper named "&c1% na Rolex" to run [make player execute command ""] format slot 1 of player with 1 of paper named "&c5% na rubin i szafir" to run [make player execute command ""] format slot 2 of player with 1 of paper named "&c10% na lapis , zlota , zelazna , twarda" to run [make player execute command ""] format slot 3 of player with 1 of paper named "&c20% na zniszczona" to run [make player execute command ""] format slot 4 of player with 1 of paper named "&c" to run [make player execute command ""] format slot 5 of player with 1 of paper named "&c" to run [make player execute command ""] format slot 6 of player with 1 of paper named "&c" to run [make player execute command ""] format slot 7 of player with 1 of paper named "&c" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&c-" to run [make player execute command ""] command /wymienmonete: trigger: open chest with 1 rows named "&cCoChceszWymienić?" to player wait 2 tick format slot 0 of player with 1 of oak named "&cZniszczone" to run [make player execute command "zniszczonawymien"] format slot 1 of player with 1 of iron named "&cZelazna" to run [make player execute command "zelaznawymien"] format slot 2 of player with 1 of oak named "&c-" to run [make player execute command "-"] format slot 3 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 4 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 5 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 6 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 7 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&cPowrot" to run [make player execute coommand "crystalmenu"] command /zniszczonawymien1: trigger: if player has 10 oak named "&3&lZniszczona_Moneta": remove 10 oak named "&3&lZniszczona_Moneta" from player give 1 iron named "&e&lŻelazna_Moneta" to player command /zniszczonawymien2: trigger: if player has 15 oak named "&3&lZniszczona_Moneta": remove 15 oak named "&3&lZniszczona_Moneta" from player give 1 57 to player command /zniszczonawymien3: trigger: if player has 20 oak named "&3&lZniszczona_Moneta": remove 20 oak named "&3&lZniszczona_Moneta" from player give 1 278 of efficiency 5 named "&6&lKilof Boga" to player command /zniszczonawymien: trigger: open chest with 1 rows named "&cCoChceszWymienić?" to player wait 2 tick format slot 0 of player with 1 of oak named "&c10 Zniszczonych na 1 Zelazna" to run [make player execute command "zniszczonawymien1"] format slot 1 of player with 1 of oak named "&c15 Zniszczonych na 1DiaxBlok" to run [make player execute command "zniszczonawymien2"] format slot 2 of player with 1 of oak named "&c20 Zniszczonych na kilof eff 5" to run [make player execute command "zniszczonawymien3"] format slot 3 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 4 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 5 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 6 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 7 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&cPowrot" to run [make player execute coommand "wymienmonete"] command /zelaznawymien1: trigger: if player has 10 iron named "&e&lŻelazna_Moneta": remove 10 iron named "&e&LŻelazna_Moneta" from player give 1 gold named "&3&lZłota_Moneta" to player command /zelaznawymien2: trigger: if player has 15 iron named "&e&lŻelazna_Moneta": remove 15 iron named "&e&lŻelazna_Moneta" from player give 7 57 to player command /zelaznawymien3: trigger: if player has 20 iron named "&e&lŻelazna_Moneta": remove 20 iron named "&e&lŻelazna_Moneta" from player give 1 278 of efficiency 6 named "&6&lKilof Boga_II" to player command /zelaznawymien: trigger: open chest with 1 rows named "&cCoChceszWymienić?" to player wait 2 tick format slot 0 of player with 1 of oak named "&c10 Zelaznych na 1 Zlota" to run [make player execute command "zelaznawymien1"] format slot 1 of player with 1 of oak named "&c15 Zelaznych na 7DiaxBlok" to run [make player execute command "zelaznawymien2"] format slot 2 of player with 1 of oak named "&c20 Zelaznych na kilof eff 6" to run [make player execute command "zelaznawymien3"] format slot 3 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 4 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 5 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 6 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 7 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&cPowrot" to run [make player execute coommand "wymienmonete"] command /zlotawymien1: trigger: if player has 10 gold named "&3&lZłota_Moneta": remove 10 gold named "&3&lZłota_Moneta" from player give 1 obsidian named "&a&lTwarda_Moneta" to player command /zlotawymien2: trigger: if player has 15 gold named "&3&lZłota_Moneta": remove 15 gold named "&3&lZłota_Moneta" from player give 10 49 to player command /zlotawymien3: trigger: if player has 20 gold named "&3&lZłota_Moneta": remove 20 gold named "&3&lZłota_Moneta" from player give 1 276 of sharpess 5 named "&6&lMieczBoga_I" to player command /zlotawymien: trigger: open chest with 1 rows named "&cCoChceszWymienić?" to player wait 2 tick format slot 0 of player with 1 of obsidian named "&c10 Zlotych na 1 Twarda" to run [make player execute command "zlotawymien1"] format slot 1 of player with 1 of obsidian named "&c15 Zlotych na 10 Obsidian" to run [make player execute command "zlotawymien2"] format slot 2 of player with 1 of diamond sword named "&c20 zlotych na miecz sharp 5" to run [make player execute command "zlotawymien3"] format slot 3 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 4 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 5 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 6 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 7 of player with 1 of diamond named "&c-" to run [make player execute command ""] format slot 8 of player with 1 of paper named "&cPowrot" to run [make player execute coommand "wymienmonete"]