execute unless score @s pay matches 410.. run return run function ws:store/unishop/fail
scoreboard players remove @s pay 410
title @s title {"translate":"luxury.buysuccess","color":"green"}
execute at @s run playsound minecraft:entity.villager.yes player @s ~ ~ ~
give @s minecraft:ghast_tear[minecraft:max_stack_size=1,minecraft:custom_model_data=2,minecraft:item_name='{"translate":"unishop.amethyst_ring"}',lore=['{"translate":"unishop.ring.info","color":"gray","italic":false}'],minecraft:custom_data={ring:1,type:'amethyst'}]