How to use multi meshed weapons as fps weapon

I am creating an fps game and want to change the weapon mesh to one I bought online. The problem is that the mesh I want to use has different files for the base, trigger, magazine, etc. How can I use this as the main weapon?