Weapon Animation Question

If I reuse this same snippet for about 6 other different weapons

Will this effect performance?
As far as I can tell this is the only way I can get it to work properly.
I am using the fire bullets behaviour but not the variables it comes with because I need them to be global variables.

If it was like 1000 weapons maybe, but 6 I doubt it
A little unrelated but if you make the Automatic_Rifle a global object you should be able to use the behavior variables globally