command /otworz: trigger: close player's inventory open chest with 1 row named "&6&lMENU" to player wait 3 tick set player's current inventory's slot 8 times to blue glass named " " set player's current inventory's slot 0 to blue glass named " " set player's current inventory's slot 4 to compass named "&a&lWykonuje komende" with lore "&6/fly on ||/gm1" on inventory click: if inventory name of current inventory of player is "&6&lMENU": if clicked slot is 4: close player's inventory else: execute console command "fly on %player%" execute console command "gamemode 1 %player%" stop