#How do I make the tool idle animation not override the current playing animation?
1 messages · Page 1 of 1 (latest)
Are they different priorities?
you can stop the other animations when playing the idle one
I have had this problem before, and I made a function that checks if any other animations are playing and if they are, then they get stopped and then play the idle animation
local function PlayAnim(anim, tween)
if CurrentAnim and CurrentAnim.IsPlaying and CurrentAnim ~= anim then
CurrentAnim:Stop()
end
if not anim.IsPlaying then
anim:Play()
if tween then tween:Play()
CurrentAnim = anim
end
end
end```
ignore the tween part
you can also change the animation priority to movement
I'm also worried about keyframes overwriting eachother
if animation priorities are used correctly they should overwrite other animations properly