Changing Animations

Hello, what I’m trying to do is pretty simple. I have custom animations running via animate script, and for certain events, I’d like to change things like the idle animation, but how would I change animations via script without animation blending (animations playing at half). Just changing simple animations, idle, walk, run, ect. Doing this on an R6 model by the way.

Any and all help is appreciated, and thank you if you even just read all this, means a lot.

1 Like

Loop through all the animations playing in the humanoid and stop them ,

set animation priority as then it means it overrides other animations

make a variable of the current playing animation then every time something happens you check if the animation you want to play is different to the playing one. Then if it isn’t you stop the animation play the new one and stuff

1 Like

I can do that? Loop through the animations playing via humanoid?

Ye. I think it’s like :GetPlayingAnimationTracks or something. Humanoid | Documentation - Roblox Creator Hub

you’re right this is a thing I can do, how would I go about stopping an animation, basically print see what it says and then stop the specific ones?

I think you can loop through then just do like :Stop as it returns an animation track or animation