So basically, I want to see how many steps the player is taking as I want to create a boost that wears off only when the player takes a certain amount of steps. I would appreciate it if anybody could help me out. Thank you!
COMMUNITY QUESTION
Is there any way to detect how many steps a player has taken?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
https://developer.roblox.com/en-us/api-reference/function/AnimationTrack/GetMarkerReachedSignal
I know about this post and have indeed tried doing this but for some reason it is not working, if this does work can you somewhat explain me the concept.
I'm not necessarily an expert in animations, but I assume when using the ROBLOX animation plugin, you can set markers which we can call "FootStep" that signify a loose time position within the track where a foot is parallel to the ground. AnimTrack:GetMarkerReachedSignal() will fire when we reach this point in our track. We can provide a function callback to increment a TotalStepCount.
AnimTrack:GetMarkerReachedSignal(AddStep)
Ok, I'll check this out and try my best to this, and I also looked at this article: https://devforum.roblox.com/t/best-way-to-calculate-the-amount-of-footsteps-a-player-has-done/246423