If that were true half if not 70% of the forum posts wouldn’t be conglomerates of begging for specific situations.
Truly, I wish that were the case.
Unfortunatley most post wind down to the equivalent of a 5yo asking why the sky is blue.
You can explain the science… but being 5, they’ll probably just ask “what is reflection”.
Once you take out the 1% of posts from people acrually attempting to learn something, the rest is people downright begging the community to do their work for them…
That may be the case, but have you maybe tried to Google for an answer given the few words and parameters introduced during the conversation?
Your answer was literally “I don’t understand”.
That’s not really OK.
There’s no reason for you (or anyone) not to understand if you put in the time to look it up…
Nor should there be any reason for us to give you precise instructions tbh.
It’s up to you (and everyone else asking for help just the same) to acrually put in some effort to try and learn.
Had you said
“I tried looking this up, but couldn’t find anything about it” things would have gone differently tone wise…
I wasn’t aware that telling people to study was an insult. How egregious of me… I have been insulting people a lot through out my life and didn’t know it 
Seriously…
If you feel insulted by how I phrased things, you should probably go do something else for a bit.
I’m sure it’s just a byproduct of the engine. It makes everyone irritable…
Now.
BY the code snippet you showed, you aren’t trying to spawn a different weapon to equip.
You are trying to spawn a different Projectile.
The projectile spawning must be handled by the individual weapon blueprint.
For loads of reasons. Chief among them is different settings on them based on the weapon itself.
To just “equip” a different weapon, there’s different solutions as well. The select isn’t the best.
Gameplay tags with weapon names would already outperform this…
As with every other post (of yours or of others).
WE can’t read your mind to know what it is you are attempting to do.
NOR, do we know what your project parameters are unless you tell us.
For instance. We don’t know if your inventory slot and key assignment is supposed to be fixed (one weapon always on that slot) or variable (user selects what weapon goes to what slot).
For that matter, we don’t really even know that you have an inventory or a slot.
The select can be helpful, maybe, but its probably completely useless if you set things up correctly.
As I said. Take to the Learn tab. There’s a lot of different things/ways you can go about this.
The game stuff in the learn tab though boring covers most of the basics for everything.
Soft classes too.