The problem is that for some reason the O key specifically doesn’t seem to work, i have this code in a local script and i don’t think it’s my keyboard’s fault since i can type with O
if input.KeyCode == Enum.KeyCode.O then
But when i switch it to something like L then it works
Full code:
local UserInputService = game:GetService("UserInputService")
local points = 0
print(points)
if UserInputService.KeyboardEnabled then
UserInputService.InputBegan:Connect(function(input, gameProssesedEvent)
print(input)
if input.KeyCode == Enum.KeyCode.O then
print(tostring(1))
elseif input.KeyCode == Enum.KeyCode.P then
print(tostring(2))
end
end)
end