I want to use animation events to play a footstep sound during my walk animation. However, I don’t know how I’d do this, since in order to use :getmarkedreachedsignal I need to first load the animation, and I’m also constantly changing the walk animation depending on the player state (if they’re crippled I change it to a crawl animation).
I’m doing this but altering the animation id of the “WalkAnim” in “walk” in the standard roblox player “Animate” script.
Is there somewhere in there that loads the walk animation, and maybe I could have an if statement that checks if its the desired animation, then connects the animation event? If so, where? If that wouldn’t work, alternate solutions?