local inputHandler = game:GetService("UserInputService")
inputHandler.InputBegan:connect(function(inp)
local itype = inp.UserInputType
local key = inp.KeyCode
if itype == Enum.UserInputType.Keyboard then
if key == Enum.KeyCode.KeypadEnter then
print("enter pressed")
end
end
end)
This is supposed to print something when enter was pressed, however, it does not work at all. It only works for all other keys.
No output, no nothing. Help me out here? Cheers.

2 comments
Your code does not work at all.
Sorry, lol. Fixed.