0NKLHB1b
Język: Skript
|
Autor: Jeste
#Wymagane: skQuery 3 [3.21.4] command /drop [<text>]: trigger: open chest with 1 row named "&c&ki&r&4Drop&c&ki&r" to player wait 5 ticks set {_LoopDrop.%player%} to 0 loop 9 times: format slot {_LoopDrop.%player%} of player with light gray glass named "&r" to close add 1 to {_LoopDrop.%player%} format slot 0 of player with 1 of diamond named "&9Diament" with lore "&4Szansa wynosi 5 procent" to close format slot 1 of player with 1 of gold ingot named "&eZloto" with lore "&4Szansa wynosi 3 procent" to close format slot 2 of player with 1 of obsidian "&0Obsydian" with lore "&4Szansa wynosi 2 procent" to close format slot 3 of player with 1 of ender pearl named "&cEnder Perelka" with lore "&4Szansa wynosi 1 procent" to close format slot 4 of player with 1 of cobblestone "&8Cobblestone" with lore "&4Szansa wynosi 50 procent" to close stop on mine stone: cancel event set block to air chance of 5%: drop 1 diamond chance of 3%: drop 1 gold ingot chance of 2%: drop 1 obsidian chance of 1%: drop 1 ender pearl chance of 50%: drop 1 cobblestone stop