How to spin the barrels when mouse is held using a script

How do to you make it spin when you’re holding it smoothly. Like make it spin when you hold the mouse. But it will start spinning slowly and get up linearly and when you stop holding it it goes back down linearly (it could b e cubicly)

1 Like

I’d strongly recommend taking a look at this brilliant article on the devforum regarding animating guns, if you slap a bit of scripting on the back of it to control things like the spinning speed (using Animation:AdjustSpeed)