Spoko proszę.
command /gui:
trigger:
set {_gui} to a new chest inventory with 6 row with name "nazwa-gui" # Tu daj nazwe gui!
set slot 0 of {_gui} to diamond # Tu daj item jaki chcesz w gui!
open {_gui} to player
on inventory click:
if name of event-inventory is "nazwa-gui":
if index of event-slot = 0:
cancel event