Animating non-player models is possible with humanoids, but that model have to have HumanoidRootPart. I believe your gun does not have a HumanoidRootPart, so delete humanoid, insert an AnimationController and try to play your animation by using it.
DO NOT FORGET TO DELETE HUMANOID INSIDE THE GUN
Here's an example code for reloading:
Anim = Char.Gun.Anims.ReloadGun
AC = Char.Gun.AnimController
AnimTrack = AC:LoadAnimation(Anim)
AnimTrack:Play()
Make sure you created the animation with same parts of the gun. Also, creating animation with parts which has same named parts may cause errors when playing it.
3 comments
Did you try to animate human body while using the gun or did you try animating the gun like it's reloading etc. process?
Im not sure how to put the Gun And Human body together so I have been trying to Animate the gun itself
Plus if it helps, i will accept answer