how to use my double button press with an axis event movement.

Thanks for the responses, im using your second one.

i would have liked to make this into a macro or function, timers and events cant be used in a function or macro.

im trying to make it so i can use this multiple times. im also trying to make the character dash in whatever direction the player “inputs”
im also using the “DoubleTap” to change from run to sprint

i have it set up where pressing the movement keys make you walk
if you hold shift then you run
if you double tap a directional key while holding shift then you sprint
walking uses no stamina
running depletes stamina at the same rate that you can restore it (regen wont happen while running)
and sprinting uses up stamina 2x as fast as it can regen

your code is magnificent, im just trying to be more efficient with how much code is added.