Animation Not Stopping

Hello there,

 For my gun, My equipped animation did not stop. 

 Currently the animation is looped an I am playing it for when the player has the gun equipped. When The unequip the gun I am Using :Stop() to Stop it, but it is not stopping. Please leave a comment explaining to me how I can fix this.
2 Likes

We need to see your code to help. Please also make sure to read the guidelines for this forum before posting.

Well this code below may help your problem.
local AnimationTracks = Player.Character.Humanoid:GetPlayingAnimationTracks()
for i, track in pairs (AnimationTracks) do
track:Stop()
Only use this code if you’re trying to stop all animations that are running in the humanoid.