command /sklep: trigger: open chest with 1 rows named "&a &1&lSklep" to player wait 1 tick format slot 0 of player with 1 of emerald named "&c&lKOXY" to close then run [make player execute command "/koxy"]