Enum.KeyCode.LeftShift Firing GameProcessed on InputBegan

Hi,

I’m writing a script to make a player sprint with the left shift key, but for some reason, the game processed boolean is true when, and only when, I press left shift.

Code:
image

Output:
image

I did a search through all scripts for “Enum.KeyCode.LeftShift” and “LeftShift” to check if there was anywhere else it was being used, but I couldn’t find anything. Any ideas as to why this is happening?

Thanks.

gameProcessed (second argument of .InputBegan event) is true when shift is used by some game process. In the default workspace that is when chat box is selected. Otherwise, it should be false. Try repeating the process in empty workspace and see what the output results are. In case returned values are expected, you will have convinced yourself that it’s a script in your game interfering.