Weapons system for 2d side scroller

I was watching your tutorial on how to make a 2d side scroller and when i got to the part about hoe to make a weapons system, the weapons system wasn’t working. The weapon system is supposed to change your weapon when you press a button but its only staying on the flipbook i created. I am including blue prints for the weapon system.

This first blueprint is for the shooting action.
The second blueprint is for the collapsed graph called set weapon parameters in the first blueprint.

I would appreciate it if you could help me fix the problem. Thanks.