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