to robisz tak:
command /kit [<text>]:
trigger:
open chest with 3 rows named "nazwaGUI" to player
set player's current inventory's slot 0 to stone named "nazwa kita"
on inventory click:
if name of current inventory of player is "nazwagui":
clicked slot is 0:
execute player command "/ekit nazwa kita"
ogarniesz? moge ci napisac ale powiedz jakie masz kity iwg