command /gui: trigger: open chest with 1 rows named "&cFajne GUI" to player set slot 0 of player's current inventory to diamond of sharpness 1 named "&cEnchantowany Diament" with lore "O lool" on inventory click: if inventory name of player's current inventory is "&cFajne GUI": cancel event if clicked slot is 0: execute console command "give %player% diamond 1" send "&cDostales Diament" to player close player's inventory stop