variables: {omnihc::koxy::%player%} = 0 command /os: trigger: open chest with 1 rows named "&bOsiagniecia" to player format slot 0 of player with golden apple:1 with lore "&f%{omnihc::koxy::%player%}%" to be unstealable every 1 second: loop all players: if number of golden apple:1 in {omnihc::koxy::%player%} >= 10: send "swd" to loop-player