Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Raycaster code for stamina/sprint bar
- SmileyDOLL3
-
28 posts
Raycaster code for stamina/sprint bar
Hello! Can someone show me or sent me a code for stamina in raycaster like a running meter when you press SHIFT on the keyboard. I can't figure out how to code it. I made a stamina bar and I want it to where u can run and it goes down but when u stop and when it is gone u walk slow as well and u still gain back your stamina. What is the code or can someone show me how to code it?
- MeyseyH
-
65 posts
Raycaster code for stamina/sprint bar
Can you temporarily share the project so I can see the code?
- Elijah999999
-
1000+ posts
Raycaster code for stamina/sprint bar
What exactly do you need help with? Making the bar decrease? Shift detection? Running?
- Discussion Forums
- » Help with Scripts
-
» Raycaster code for stamina/sprint bar