I have a Knocked system where if you get low you get knocked, the anim plays but it wont stop. Any help?
local function PlayAnim(ValueV)
local Anim = Char.Humanoid:LoadAnimation(script.Animation)
if ValueV == true then
Anim:Play()
else
print("ISPLAYING")
Anim:Stop()
end
end
This might be because you’re creating an AnimationTrack every time you execute function PlayAnim so the script is stopping a separately created animation from the one currently playing. Try loading the animation beforehand.
I The Video You Have Posted, You Have PlayAnim Function Inside Of Another Function, Can You Post Your Whole KnockDetect Script, So I Can Understand Whats Going On!