i made a script where you double tap w to sprint and when I hold w after double tapping then 2 seconds later the walkspeed reverts to default I don't know why but any fixes? plus I don't know how to put an animation on it.
this is the script:
https://pastebin.com/8YWQTn1u