Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there any way to detect how many steps a player has taken? [closed]

Asked by 4 years ago
Edited 4 years ago

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!

0
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. baldi92102 2 — 4y
0
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. Ziffixture 6913 — 4y
0
AnimTrack:GetMarkerReachedSignal(AddStep) Ziffixture 6913 — 4y
0
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 baldi92102 2 — 4y

Closed as Not Constructive by youtubemasterWOW, User#29913, and oreoollie

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?