“AnimationTrack limit of 256 tracks for one Animator exceeded, new animations will not be played” I get this error everytime when my run anim starts playing.
function onRunning(speed)
if speed > 0.01 then
if script.Parent.ValuesFolder.Sprinting.Value == false then
if Humanoid.Health < 60 then
playAnimation("hurtwalk", 0.1, Humanoid)
setAnimationSpeed(speed / 14.5)
else
playAnimation("walk", 0.1, Humanoid)
setAnimationSpeed(speed / 14.5)
end
else
if Humanoid.Health < 60 then
playAnimation("hurtsprint", 0.2, Humanoid)
setAnimationSpeed(speed / 20)
elseif Humanoid.Health >= 60 then
playAnimation("sprint", 0.2, Humanoid)
setAnimationSpeed(speed / 20)
end
end
pose = "Running"