How would I save the slots in this gui after items are changed in it and closes it so that everything stays the same when they open it again?
Here's current code:
command /upgradeshop:
permission: skript.itemshop
trigger:
set {_upgradegui::%uuid of player%} to a new chest inventory with 6 row with name "Upgrade Shop"
open {_upgradegui::%uuid of player%} to player