variables: {%player%.megadrop} = false {%player%.mdczas} = 0 every 60 seconds: loop all players: if {%loop-player%.megadrop} is true: remove 1 from {%loop-player%.mdczas} if {%loop-player%.mdczas} is 0: set {%loop-player%.megadrop} to false on mine of stone: if {%player%.megadrop} is true: chance of 10%: drop 1 diamond chance of 20%: drop 4 gold ingots chance of 30%: drop 16 iron ingots chance of 40%: drop 32 lapis lazuli chance of 50%: drop 64 redstone dust command /megadrop: trigger: if {%player%.megadrop} is false: if player's money is more than 299: remove 300 from player's money set {%player%.megadrop} to true set {%player%.mdczas} to 20 send "Aktywowano megadrop!" to player else: send "Nie masz wystarczającej ilości pieniędzy!" to player else: send "Pozostało %{%player%.mdczas}% do końca megadropu!"