How to make a welded part face another part while rotating around it's base

How do I make a welded part face another part but make the welded part rotate around it’s base? I want to make some arms for a gun i’m making and I can’t really find anything on it.

Well to make welded parts move relative to each other you can change the C0 or C1 property of the weld to make it look at something else.

But for this there are already tutorials on the dev forumn so you should just go check them out.