$execute unless score @s coins matches $(smoke_bomb).. run return run tellraw @s {"text":"You don't have enough coins! ($(smoke_bomb)c)","color":"red"}
function pctf:logic/items/smoke_bomb/give
$function pctf:logic/player/coins/remove {amount: "$(smoke_bomb)"}