#AroveDev Skripts #---------------- #Christmas Chest #---------------- #Opcje #---------------- options: Nazwa: #NAZWA &6&lPREZENT &f&lSWIATECZNY Item: ender chest #POSTAC SKRZYNKI (ITEM) Szansa: 20% #SZANSA NA DROP #Code #---------------- on mine of stone: chance of 20%: execute console command "skrzynka %player%" send "&7Znalazles: &6&lPREZENT &f&lSWIATECZNY " to player command /skrzynka []: permission: cchest.give trigger: if arg-1 is set: give {@Item} named "&6&lPREZENT &f&lSWIATECZNY" with lore "&7&l&oDrop ze skrzynki:|| ||&6&lBeacon||&c4 Skrzynki||&cKilof 6/3/3||&d16 Zlotych Jablek||&dMiecz 6/3/3||&5Miecz 5/3/3||&5548 Emeraldow||&5632 Zlota||&54Zlote Jablka||&9Patyk (Knockback 2)||&9Skrzynka||&9Diamentowy Kilof||&9Zlote Jablko||&9Dirt" to arg-1 else: send "&cWybierz gracza!" to player on place {@Item}: send "&7Otworzyles: &6&lPREZENT &f&lSWIATECZNY" cancel event chance of 100%: give dirt to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Dirta " to all players stop chance of 90%: give diamond pickaxe to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Diamentowy Kilof " to all players stop chance of 5%: give beacon named "&c&lBEACON ;)" to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal &6&lBeacona!!!! &fGratulujemy " to all players stop chance of 7%: loop 4 times: execute console command "skrzynka %player%" send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Prezent " to all players stop chance of 7%: give player diamond pickaxe of effieciency 6 and fortune 3 and unbreaking 3 to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Kilof 6/3/3 " to all players stop chance of 60%: give 16 golden apple to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal 16zlotych jablek" to all players stop chance of 10%: give 632 gold ingot to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal 632zlota " to all players stop chance of 9%: give 548 emeralds to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal 548 emeraldow" to all players stop chance of 15%: give diamond sword of sharpness 6 unbreaking 3 and fire aspect 3 to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Miecz 6/3/3 " to all players stop chance of 10%: give diamond sword of sharpness 7 unbreaking 3 and fire aspect 3 to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Miecz 7/3/3 " to all players stop chance of 100%: give 8 golden apple to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal 8zlotych jablek " to all players stop chance of 100%: give golden apple to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Zlote jablko " to all players stop chance of 10%: execute console command "skrzynka %player%" send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Skrzynke " to all players stop chance of 10%: give stick of knockback 2 to player send "%player% Otworzyl &6&lPREZENT &f&lSWIATECZNY i otrzymal Patyk " to all players stop