Right click to shoot a fireball

Hello there, i had this problem while making a boom bow but there i had an entity i could tag, while in here i dont understand why its not working? it is probably because of my poor understanding of @s here are all the mcfs that i have in chat it does say reset btw (i also tested and the tick function is finished fully) give.mcf

give @s warped_fungus_on_a_stick{display:{Name:'{"text": "qerot"}'},carrot:1b}

load.mcf

say loaded
scoreboard objectives remove rmb
scoreboard objectives add rmb used:warped_fungus_on_a_stick
scoreboard objectives setdisplay sidebar rmb

tick.mcf

execute as @a if score @s rmb matches 1.. at @s if data entity @s SelectedItem.tag{carrot:1b} run function ownera:shoot
execute as @s at @s run function ownera:blast

shoot.mcf

say until reset!
scoreboard players set @s rmb 0
say reset!

blast.mcf

summon fireball 
say blast!
Continue to help post