How do I implement a working firearm pickup system?

Hello, everyone.

I am trying to create a functioning pickup system involving firearms. In my case, I want the player to obtain a different weapon from the ground or anywhere in place of the weapon that they were using. In my shooter game, I am using two firearms known as the AK47 and the AK74. Whenever the players wants to use a different weapon other than the AK47 - the starting firearm for the game - they can pickup the AK74 weapon to shoot against obstacles.

Here are my blueprints:

Two weapons:

AK47:

AK74:

Blueprint for picking up AK74 firearm:

First Person:

blueprint for getting the references for the two firearms:

blueprint for shooting weapons:

Issue:

The starting weapon, the AK47, functions fine. However, whenever I try to left-mouse click while my character is holding the AK74 firearm, the gun doesn’t actually shoot. This occurs when I obtain the AK74 from a separate blueprint for picking up the weapon. When I exit out the playtest. This is the error I receive:

Any help is appreciated.

I think you have to run ‘get firearms’ before trying.

Also this is a bit weird

If ‘is gun accessible’ is false, it will fire the 47, then the 74… :thinking: