how would i make something similar to this?

(i know how to make an animation play when you equip a tool, but how would i animate the tool grip)