Merging Skeletal Meshes

Hello, I have two weapons that i bought of unreal marketplace, however when I opened it up in unreal i realized that the meshes for the guns were separated (The magazine was a separate mesh and the gun model was also separate) and they weren’t all in one. I made a system were i can swap weapons and it works fine for the guns itself, but when i try to attach the magazines to the guns and swap weapons, the magazines do not disappear with right the gun and both of them just hover in the air, regardless of when i swap guns. Is there a way to fix this?