How can I implement a simple "switch" button?

Still new to UE, back with more questions!

Question 1:

I’m using the pre-built FPS project, and I’m trying to implement a way to “switch” guns when a keyboard button is pressed (for example. when I press “1”).

Essentially what I am trying to accomplish is when you start the game you get given the basic gun, and if you press “1”, it swaps out to an “upgraded” version, which is the same gun model (different actor) but may have something new (like a crosshair or it fires in bursts, this isn’t the important part).

Then, if you press “1” again, it swaps back to the basic gun.

Question 2:

Similarly, while holding any of the guns, I want the player to be able to press a button and make the gun fire different projectiles (just a reskined version of the pre-existing bullet the fps demo gives you).

I did some digging and realized this is where the projectile gets created Imgur: The magic of the Internet , but I’m not sure how I can manipulate the Class in the SpawnActor action to change on button press.

Any ideas or tutorials about this? All help is appreciated!

Again, I’m looking for the simplest way of doing this (or something similar), still learning the ropes!

Edit: I created two action inputs (I know its deprecated, but I’m just doing the simplest thing right now), one for each gun. Pressing 1 equips my first gun (though pressing it again equips multiple, so I’m searching how to destroy any previously held guns), but I don’t know whats the best way to go with gun 2.

I thought of making another BP_Weapon_Component that attaches gun2, but when I duplicate the blueprint I get this error. Imgur: The magic of the Internet

Also, I’m thinking that there’s surely a better way to do this that make an entire extra blueprint right?