code_language.skript:
if text-arg is not set:
if player-arg is not set:
set {_p} to "%player%" parsed as player
open chest with 2 rows named "&7Coins - You have %{coins::%uuid of player%}%" to player
format slot 4 of player with skull of {_p} named "&aCoins" with lore "&fBuy everything from tags to" and "&fplayer particles!" and " " and "&f&lYour Coins Balance:" and "&a%{coins::%uuid of player%}%" to be unstealable
format slot 12 of player with end crystal named "&aCoin Shop" with lore "&fSpend your coins here." and "&fUpdated often with tons" and "&fof new items!" to close then run [make player execute command "coin shop"]
format slot 14 of player with chest named "&aGet Coins" with lore "&fPurchase some coins!" to close then run [make player execute command "buy"]
code_language.skript:
to close then run [make player execute command "buy"]