Inputs(C key) wont register if I am holding [SHIFT]

Hey all
wavey
So basically I’ve been making a slide system for my game,.
In order to slide you must hold shift and press C

HOWEVER, when holding shift, the C input wont register. I have not tested this with other keys(Im assuming its only C, since i can still move with W A S D)

I am handling inputs via this:

UserInputService.InputBegan:Connect(function(input)

And yes, i tried using print statements for debugging, and that confirmed my thoughts.
Indeed when i held shift, the C input wont register.

IMPORTANT

It appears to work perfectly fine on Roblox, but not in Studio.

Is there any possible way to solve this, since its a pain to have to update in studio and playtest directly on Roblox.
Thanks a lot for reading, any help is appreciated!!

Maybe you need to restart studio or reinstall it. I’m not sure.

Can you give us your code?

Can we see your code? Currently I am thinking that this might be your solution:

local shift = 0
local c = 0
game:GetService("UserInputService").InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then
		shift = 1
	elseif input.KeyCode == Enum.KeyCode.C then
		c = 1
	end
	if shift == 1 and c == 1 then
		print("Dash Code here")
	end
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift then
		shift = 0
	elseif input.KeyCode == Enum.KeyCode.C then
		c = 0
	end
end)

check for shortcuts that uses Shift+C

That’s bc in Roblox Studio, there’s a shortcut that uses Shift + C A few months ago, I spent 5h debugging because of that.

Yeah that will probably not work since it still relies on shift and C being pressed at the same time

Is there any way to disable certain shortcuts, i mean i never remember using Shift+C, so it might aswell be useless for me

Is there any way to disable certain shortcuts, i mean i never remember using Shift+C, so it might aswell be useless for me(same question)

This also happens to me but in the reverse I do not know why but it happens to not work in game with control+ C with me but in studio it works perfectly fine.

Could you explain it more properly? Seems like you and many people have an issue wiht Studio not registering Shift+C. While testing, I didn’t have the issue.

First of all, go to FILE > Advanced > Customize Shortcuts…

Then from there, you can search for shortcuts (for instance here is me searching for actions thhat happen when F12 is pressed:

Thanks a lot! It works well now