How do I animate a tool, but keep it on your torso and not RightHand or Right Arm

I’m trying to animate a gun, I’ve seen some people do it, so I thought of animating a gun, so I try to do it and I equip the gun. It doesn’t move according to the animation! So, I thought it would be only RightHand because tools are always equipped on the RightHand. How do I do it so it isn’t right on the RightHand and on the torso instead so I can move it according to the animation? Or is that just impossible and I have to do it on RightHand, or something like that?

Thanks.

I fixed it. I just needed to set root-part to the model.