#AroveDev Skripts #---------------- #Christmas Chest #---------------- #Opcje #---------------- options: Nazwa: &d&lPREZENT &f&lSWIATECZNY #NAZWA SKRZYNKI Item: ender chest #POSTAC SKRZYNKI (ITEM) Szansa: 20% #SZANSA NA DROP #Code #---------------- on mine of stone: chance of {@Szansa}: execute console command "skrzynka %player%" send "&7Znalazles: {@Nazwa}" to player command /skrzynka []: permission: cchest.give trigger: if arg-1 is set: give {@Item} named "&7{@Nazwa}" with lore "&7&l&oDrop ze skrzynki:|| ||&6&lBeacon||&c4 Skrzynki||&cKilof 5/3/3||&d8 Zlotych Jablek||&dMiecz 6/3/3||&5Miecz 5/3/3||&548 Emeraldow||&532 Zlota||&54Zlote Jablka||&9Patyk (Knockback 3)||&9Skrzynka||&9Diamentowy Kilof||&9Zlote Jablko||&9Dirt" to arg-1 else: send "&cWybierz gracza!" to player on place {@Item}: send "&7Uzyles: {@Nazwa}" cancel event chance of 10%: give dirt to player chance of 10%: give diamond pickaxe to player chance of 1%: give beacon named "&c&lBEACON ;)" to player chance of 3%: loop 4 times: execute console command "skrzynka %player%" stop chance of 3%: give player diamond pickaxe of effieciency 5 and fortune 3 and unbreaking 3 to player chance of 13%: give 4 golden apple to player chance of 5%: give 32 gold ingot to player chance of 5%: give 48 emeralds to player chance of 5%: give diamond sword of sharpness 6 and unbreaking 3 and fire aspect 3 to player chance of 5%: give diamond sword of sharpness 5 and unbreaking 3 and fire aspect 3 to player chance of 5%: give 8 golden apple to player chance of 10%: give golden apple to player chance of 10%: execute console command "skrzynka %player%" chance of 10%: give stick of knockback 3 to player