-
What do you want to achieve?
Stop the animation -
What is the issue?
:Stop() doesnt give an error or anything but still fails to stop the animation
Here is my code:
for i, v in ipairs(Humanoid.Animator:GetPlayingAnimationTracks()) do
if string.find(v.Name, "Hit") then
v:Stop()
end
end
print(Humanoid.Animator:GetPlayingAnimationTracks())
For some reason the animation doesnt stop. Here is what is printed out:
{
[1] = IdleFightingStyle,
[2] = HitTop,
[3] = Animation
}