Linking motors to animations

Hey

I was wondering how I could link motors to animations to have specific things about the weapon moving