I’ve been trying to use a key, which was the X key and it didn’t work. I thought it was a script error but I used this and nothing was printing, and every other key were printing. This was the same for C and V.
I didn’t even think about that. I’ve heard of similar glitches where sometimes the keyboard by default uses those shortcuts without even holding down control.
local uis = game:GetService("UserInputService")
local index = {Enum.KeyCode.X,Enum.KeyCode.C,Enum.KeyCode.V}
uis.InputBegan:Connect(function(input,processed)
if table.find(index,input.KeyCode) and not processed then
print("Pressed Key: "..tostring(input.KeyCode))
end
end)
It will only print when you pressed the keys when you aren’t typing or chatting
because it works with every other key, besides I’ve already put it in starterGui, and into the starterPlayer, and it still didn’t work. I don’t know it is probably something wrong with my keyboard or something.