I am trying to add a running mechanic to the newest game I am working on, but I don’t want to keybind it to the Left Shift key, as it is used for the Shift Lock Switch, which will be useful in some parkour elements.
I attempted to bind it to the Left Control key, but after doing so, it did not detect anything, also not going to use Caps Lock for it as I don’t want the player to switch from capital to normal letters every time they attempt to sprint, and Tab is simply too high for the pinky finger to reach it comfortably, not even sure if any of these would be detected either.
I attempted binding it to some of the QWERTY or number keys, but it would make using the WASD a lot harder, as you have to hold the key down in order to sprint, which means you wouldn’t be capable of moving in one of the directions while sprinting.
Later I thought of binding it to one of the keys near the Spacebar (Like C), which would make it possible to press the sprint key with your thumb, but once again, since you have to hold it, it would make jumping harder for unskilled hands, which brings many problems, you may press the spacebar too late and fall off the platform, or accidentally let go of the sprint key, which will slow you down and you may not reach the platform either, but if your thumb will get used to this kind of use, it could work.
Lastly, I thought of using one of the mouse buttons, of course left and right mouse button already have a use, since the game can be played in third person, so the only option is the scroll wheel button, but Roblox itself doesn’t have the button even programmed into it, since some mouses don’t have these buttons, and laptop touch pads don’t have it either.
So in conclusion, I am really out of options, and cannot find a sprint script which would require you to only press a button instead of holding it down, is there anyone who has more knowledge about such things and knows which key I could use that I didn’t think of?
Also, it won’t be a problem on an XBOX controller, there should be enough free buttons on it to program it in, I hope so atleast.