$scoreboard players remove @s coins $(amount)
$particle minecraft:wax_off ~ ~0.1 ~ 0 0 0 10 $(amount) normal @s
$tellraw @s {"text":"-$(amount) Coins","color":"gray"}
execute at @s run function pctf:logic/shop/fx