execute unless score @s pay matches 100.. run return run function ws:store/unishop/fail
scoreboard players remove @s pay 100
title @s title {"translate":"luxury.buysuccess","color":"green"}
give @s golden_apple
execute at @s run playsound minecraft:entity.villager.yes player @s ~ ~ ~