Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how i make a sprint button
- grkw2020
-
500+ posts
how i make a sprint button
Could you please provide a more detailed explanation as to what you need help with? Thanks! 

- FroYo666
-
29 posts
how i make a sprint button
to make a sprint button first have a walk button, then have a “when this key pressed” block. There is no shift key but you can bind sprint to any key. you might also need to use the “If then” block and a “key space pressed?” sensing block to reduce latency.
D key is normal walk and shift key is the sprint. If you need more help or you cant figure that out, tell me and i can make a code for you to backpack
when [D v] key pressed
move (5) steps
when [Shift v] key pressed
move (10) steps
end
D key is normal walk and shift key is the sprint. If you need more help or you cant figure that out, tell me and i can make a code for you to backpack
Last edited by FroYo666 (May 23, 2024 00:28:12)
- Jlerpy
-
1000+ posts
how i make a sprint button
How does your current movement system work, vgfdkhjsfgdh?
- Discussion Forums
- » Help with Scripts
-
» how i make a sprint button