execute unless score @s pay matches 100.. run return run function ws:store/banktocash/fail
scoreboard players remove @s pay 100
give @s minecraft:emerald[minecraft:custom_model_data=1004,minecraft:custom_data={100:1},minecraft:custom_name='{"italic":false,"text":"100$"}']
execute at @s run playsound minecraft:entity.arrow.hit_player player @s ~ ~ ~