So the title is pretty straight forward. I’m trying to add animation events onto humanoid animations from the default Animate script, lets say the walk, the main thing I want to create is an event where with every step there’s a sound that plays as SOON as the foot touches the ground, and rather than using things like wait() I wanted to use animation events going forward since they’re more secure.
Is there some sort of way to find the active playing animations and run an animation event off that or even stop them and replace the ID to swap animations? (Really just being able to locate the animations the humanoid is playing)
Any and all help means the world. Even if you don’t leave a reply, thank you for reading.
Yes, of course. The animation ids are in the Roblox animate script inside each player. You can reupload those ids and then add animation events, then replacing the ids in there with the new ones.
I’ve tried replacing ID’s but what happens is since the original animation never stops, lets say the idle, I swap the ID but the original idle is still playing, it’ll just play a second idle over the first one and it’ll mix the animations, I need to basically do something like
It is very easy, actually! Just start a play test, go to your character and find the “Animate” local script, copy it and paste it into startercharacterscripts and then find the walk animation id in the script and replace it with yours and it should be all done!
Oh no I know how to do that, I’ve done that before, but what I want to do is lets say you press Q and you play a little animation where you stance change, and by the time the animation is done, your idle animation changed, and then you press Q again to revert what it did originally without mixing animations
I attached two images explaining what I mean, the one with the green floor is the problem, and the one with the brick is the goal, on my friend’s end he sees the fists raised up in his fighting stance, but I see him differently, that happens when you change the id’s on the animate script, once an animation is already playing mid game.
Man. lowkey i might just make my own animate script and just add functions that if the ID of an animation changes, it stops the animation and starts it up again with the new ID cause I’m sick of trying to work with the Animate script.