#Skrypt na case. #Zabraniam podszywania się pod autora. options: chest: 1% d.sword1: 10% gold.block: 25% d.sword2: 20% d.helmed: 15% diamond.chestplate: 21% d.leggings: 10% diamond.boots: 5% d.pickaxe: 37% emerald.block: 32% apple: 65% bow: 45% enchanted.g.apple: 0.9% Swiftness.Potion: 12% Strength.Potion: 4% ender.pearl: 76% tnt: 85% vip: 40% svip: 55% beacon: 0.3% command /case [] []: aliases: premiumcase trigger: if player has permission "admin.case": if arg 1 is not "daj": send "&8» &7Poprawne uzycie: &a/case " to player if arg 1 is "1" or "jeden": send all players title "&5&lCASE" with subtitle "&71 wolny slot w EQ!" wait 5 seconds send all players title "&5&lCASE" with subtitle "&7Otrzymano!" give 1 chest named "&9&lPremiumCase" to all players stop if arg 1 is "2" or "dwa": send all players title "&5&lCASE" with subtitle "&71 wolny slot w EQ!" wait 5 seconds send all players title "&5&lCASE" with subtitle "&7Otrzymano!" give 2 chest named "&9&lPremiumCase" to all players stop if arg 1 is "3" or "trzy": send all players title "&5&lCASE" with subtitle "&71 wolny slot w EQ!" wait 5 seconds send all players title "&5&lCASE" with subtitle "&7Otrzymano!" give 3 chest named "&9&lPremiumCase" to all players stop if arg 1 is "4" or "cztery": send all players title "&5&lCASE" with subtitle "&71 wolny slot w EQ!" wait 5 seconds send all players title "&5&lCASE" with subtitle "&7Otrzymano!" give 4 chest named "&9&lPremiumCase" to all players stop if arg 1 is "5" or "piec": send all players title "&5&lCASE" with subtitle "&71 wolny slot w EQ!" wait 5 seconds send all players title "&5&lCASE" with subtitle "&7Otrzymano!" give 5 chest named "&9&lPremiumCase" to all players if arg 1 is "give" or "daj": send player title "&5&lCASE" with subtitle "&7Otrzymano!" give 5 chest named "&9&lPremiumCase" to player stop else: send player title "" with subtitle "&7Nie posiadasz uprawnien do &8(&6admin.case&8)" for 3 seconds on place of chest: if player's tool is chest named "&9&lPremiumCase": set block to chest set block to air chance of {@chest}: add 1 to {szansa::%player%} drop 3 chest named "&9&lPremiumCase" broadcast " &2» &7Gracz &a%player% &7wylosowal &cPremiumCase &7z &9PremiumCase" stop chance of {@d.sword1}: add 1 to {szansa::%player%} drop 1 diamond sword of sharpness 7 and unbreaking 3 and fire aspect 10 named "&4Jaskiniowy Miecz" with lore "&f&l» &cJesli nie bedziesz mogl||&f&l» &cNaprawic tego przedmiotu||&f&l» &cW kowadle, uzyj komendy:||&f&l» &a&o/REPAIR||&f&l» &cPrzedmiot zdobyty z &9&lPremiumCase&c!" broadcast " &2» &7Gracz &a%player% &7wylosowal &cJaskiniowy Miecz &7z &9PremiumCase" stop chance of {@gold.block}: add 1 to {szansa::%player%} drop 64 gold block broadcast " &2» &7Gracz &a%player% &7wylosowal &cBloki Zlota &7z &9PremiumCase" stop chance of {@d.sword2}: add 1 to {szansa::%player%} drop 1 diamond sword of sharpness 5 and knockback 2 named "&cMiecz 5/2 &fKNOCK" broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowy miecz &7z &9PremiumCase" stop chance of {@d.helmed}: add 1 to {szansa::%player%} drop 1 diamond helmet of protection 4 and unbreaking 3 broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowy helm &7z &9PremiumCase" stop chance of {@diamond.chestplate}: add 1 to {szansa::%player%} drop 1 diamond chestplate of protection 4 and unbreaking 3 broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowy napiersnik &7z &9PremiumCase" stop chance of {@d.leggings}: add 1 to {szansa::%player%} drop 1 diamond leggings of protection 4 and unbreaking 3 broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowe Spodnie &7z &9PremiumCase" stop chance of {@diamond.boots}: add 1 to {szansa::%player%} drop 1 diamond boots of protection 4 and unbreaking 3 broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowe Buty &7z &9PremiumCase" stop chance of {@d.pickaxe}: add 1 to {szansa::%player%} drop 1 diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 with lore "&f&l» &cJesli nie bedziesz mogl||&f&l» &cNaprawic tego przedmiotu||&f&l» &cW kowadle, uzyj komendy:||&f&l» &a&o/REPAIR||&f&l» &cPrzedmiot zdobyty z &9&lPremiumCase&c!" broadcast " &2» &7Gracz &a%player% &7wylosowal &cDiamentowy Kilof &7z &9PremiumCase" stop chance of {@emerald.block}: add 1 to {szansa::%player%} drop 64 emerald block broadcast " &2» &7Gracz &a%player% &7wylosowal &cBloki Emeraldow &7z &9PremiumCase" stop chance of {@apple}: add 1 to {szansa::%player%} drop 64 apple broadcast " &2» &7Gracz &a%player% &7wylosowal &cJablka &7z &9PremiumCase" stop chance of {@bow}: add 1 to {szansa::%player%} drop 1 bow of power 8 and unbreaking 3 and flame 2 and infinity 1 named "&4Jaskiniowy Luk" with lore "&f&l» &cJesli nie bedziesz mogl||&f&l» &cNaprawic tego przedmiotu||&f&l» &cW kowadle, uzyj komendy:||&f&l» &a&o/REPAIR||&f&l» &cPrzedmiot zdobyty z &9&lPremiumCase&c!" broadcast " &2» &7Gracz &a%player% &7wylosowal &cJaskiniowy LUK &7z &9PremiumCase" stop chance of {@enchanted.g.apple}: add 1 to {szansa::%player%} drop 64 enchanted golden apple broadcast " &2» &7Gracz &a%player% &7wylosowal &cKoxy &7z &9PremiumCase" stop chance of {@Swiftness.Potion}: add 1 to {szansa::%player%} drop 1 Swiftness Potion broadcast " &2» &7Gracz &a%player% &7wylosowal &cPotka Speeda &7z &9PremiumCase" stop chance of {@Strength.Potion}: add 1 to {szansa::%player%} drop 1 Strength Potion broadcast " &2» &7Gracz &a%player% &7wylosowal &cPotka Sily &7z &9PremiumCase" stop chance of {@ender.pearl}: add 1 to {szansa::%player%} drop 12 ender pearl broadcast " &2» &7Gracz &a%player% &7wylosowal &cEnder Perly &7z &9PremiumCase" stop chance of {@tnt}: add 1 to {szansa::%player%} drop 1 tnt of infinity 10 named "&7Rzucane tnt" broadcast " &2» &7Gracz &a%player% &7wylosowal &cRzucane Tnt &7z &9PremiumCase" stop chance of {@vip}: add 1 to {szansa::%player%} drop paper of unbreaking 1 named "&6Voucher na VIPa" with lore "&f&l» &cInstrukcja obslugi:||&f&l» &cKliknij &aprawy &cprzycisk myszki!||&f&l» &cI ciesz sie Vipem!||&f&l» &cPrzedmiot zdobyty z &9&lPremiumCase&c!" broadcast " &2» &7Gracz &a%player% &7wylosowal &cVoucher Na VIPa &7z &9PremiumCase" stop chance of {@svip}: add 1 to {szansa::%player%} drop paper of unbreaking 1 named "&6Voucher na SVIPa" with lore "&f&l» &cInstrukcja obslugi:||&f&l» &cKliknij &aprawy &cprzycisk myszki!||&f&l» &cI ciesz sie SVipem!||&f&l» &cPrzedmiot zdobyty z &9&lPremiumCase&c!" broadcast " &2» &7Gracz &a%player% &7wylosowal &cVoucher Na SVIPa &7z &9PremiumCase" stop chance of {@beacon}: add 1 to {szansa::%player%} drop beacon named "&8&l● &9&lB&f&lE&a&lA&c&lC&d&lO&b&lN &8&l●" broadcast " &2» &7Gracz &a%player% &7wylosowal 9&lB&f&lE&a&lA&c&lC&d&lO&b&lN &7z &9PremiumCase" stop if {szansa::%player%} is not set: drop 48 golden apple broadcast " &2» &7Gracz &a%player% &7wylosowal &cRefile &7z &9PremiumCase" stop