I am currently trying to achieve making a sprinting/slide system, but have been left empty handed due to the following reason:
Inputs are not detected whenever one is already in use (UIS). This occurs even if the code is in the same script with other input code.
I just want information about this (such as reasons or the cause), not any code (non-script/code fixes would be appreciated). Few months back in another experience of mine, similar code worked fine, but now doesn’t. I assume this is because of a Studio update, whether it be a bug or intentional.
I am not online much, and do not expect any type of reply (sorry).
Can you clarify a little further on how your scripts are set up? UIS shouldn’t be exclusively working in one script only, but it is generally a good practice to keep most of the input handling in one single place.
Yep as @Operatik said its most likely the cause of something else.
My guess is you have used context action services and passed nil which will sink the inputs. Also I know some keys that roblox default scripts has sinked like the i and o for camera zoom.
Sorry for the extremely late reply, but I figured out it was just some sort of Studio bug. The code (and inputs) work perfectly on the Roblox Game Client, while on Studio it just doesn’t work. I’ve also had similar experiences regarding BodyVelocity (BV is inconsistient across Studio and the Launcher). Thanks for the information, it still should help with some code I’ve been working on.