Error help!

I am trying to call the fire method from my ScarAssaultRifle class from my character class but every time i try to shoot it just crashes all my other methods work but the fire one doesn’t
Gun class:

Character class:
b47493dfaf9dad7ed0231693a6503448.png

cb43054b89f8dd4b5d3235183158cae4.png