command /zlotoon: trigger: set {dropzloto} to true send "&aDrop zlota zostal wlaczony" command /drop: trigger: open chest with 1 row named "&0Drop na serwerze" to player wait 2 ticks if {dropzloto} is true: format slot 4 of player with 1 gold ingot named "Drop: &aWlaczony" to close then run [execute player command "/zlotoon"] else: format slot 4 of player with 1 gold ingot named "Drop: &cWylaczony" to close then run [execute player command "/zlotoon"] on mine of stone: if {dropzloto} is true: chance of 50%: drop 1 gold ingot at event-block send "&aZdobyles zloto!"