Different animations depending on what gun i have out

im trying to figure out how to have different animations for different guns for an upcoming fps.
like how do i switch animations depending on what gun i have?
and how do i import animations to that certain gun.

can anyone help with this?

It depends on how you’re handling the main gun script(s). But you could easily place all the animations in an accessible folder or as children of the script. You could name the animation the same as the gun to make it easy to link their respective animations easily.

animation = script[Gun.Name]

Check for tool.Equipped, if the gun is equipped you play your custom gun animation.