Can we make them sprint after 3 secs of running

Hi I have setup so we have left shift to toggle between run and walk.
Is it possible after running for 3 secs we start sprinting?

Certainly! Let me outline how I’d go about it and leave the rest for you as a challenge.

  • Have a boolean that lets us know when we are running
  • Start counting down while the boolean remains true (You’ll want two variables, one to hold how long you want to wait and the other for the actual count)
  • Once the countdown reaches 0, increase walk speed like you do when you sprint
  • Once we’re done running reset everything, the boolean, the countdown, and walk speed all to their normal values

If you run into any difficulties, you can also ask for help in our discord community.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms