Need help rigging a weapon in blender

Ive created an assault rifle in blender, ive followed every tutorial there is and its not working. I set up the vertex groups with weight painted corresponding parts (magazine,trigger,bolt,control), named the bones the same as the vertex groups. But when it comes to parenting them to the individual pieces like, magazine bone to magazine vertex group, trigger bone to trigger vertex group, etc. it doesn’t work, I can parent the entire mesh to the control bone in the grip using Parent to > Bone relative, so the entire rig moves with the mesh when I select and move the control bone, but I have no idea what to do from there. I’m new to rigging, this the first time ive tried to rig a weapon, Any and all help is very appreciated!