$execute unless score @s coins matches $(arrow).. run return run tellraw @s {"text":"You don't have enough coins! ($(arrow)c)","color":"red"}
give @s arrow[item_name={"color":"gray","text":"Arrow"}] 8
$function pctf:logic/player/coins/remove {amount: "$(arrow)"}