You'll need some way to differentiate the gun object instances so that you can pick them properly. Can be done with an instance variable.
For example, when spawning a gun for a player, set an instance variable in the gun object to playerSprite.UID. This will associate the gun to that player, and you can pick that gun in particular by comparing instance variables.
Better yet, use the same method you're already using to pick the correct player sprite to move for your controls.