So you want to pick the gun up and…? I’m unsure what you’re asking
Did you want to drop your current gun and then have the sprite of the new gun, or just completely replace the old gun? Any additional details would be helpful.
Also a side note, you should try organizing and bundling your code better. I made a guide a while ago that will help your code a ton with just some basic implementation