How to aim up and down with both arms holding a tool

As the title suggests, how would I make it so my character aims up and down with both arms while holding a tool? I have no idea where to start because I am unfamiliar with Motor6Ds.

Example: https://gyazo.com/c28af9304814462c79a56cf80ea86468

I remember this from a while ago. Probably still works:

That’s for animating tools, I need it so you can aim up and down based on the cursor/camera.