command /money []: trigger: close player's inventory open chest with 1 row named "&6&lKasa" to player wait 1 tick set player's current inventory's slot 4 to gold ingot named "&aTwój stan konta &c&l%balance of player%" on inventory click: if inventory name of current inventory of player is "&6&lKasa": if clicked slot is 4: close player's inventory