on command:
command is "market":
wait 3 tick
open chest with 3 rows named "&0Market" to player
wait 3 tick
format slot 11 of player with Diamond named "&e&lSATIN AL" to close then run [execute player command "2adam000"]
format slot 15 of player with Gold_Ingot named "&e&lSAT" to close then run [execute player command "2adam000"]