How can you get your hands to move to close?

Hello. I’m making weapons and ran into a problem. I looked all over the Internet but couldn’t find anything. I need the player’s hands to move smoothly behind him when holding tools.

What?

I’m talking about the player’s hands when he holds an object. how to make them move behind the gun?