Hi.

So I am trying to get it to display numbers pressed as well, but when my backpack loads, the numbers aren't registering. It works if I press numbers before the backpack is loaded. There is also nothing in my backpack & starterpack. Here is the script, it is a localscript inside of StarterGui.

keyboard = game.Players.LocalPlayer:GetMouse()

keyboard.keyDown:connect(function(key)
	print(key)
end)

Thanks, changing it to keyUp worked

2 comments

1

Try using KeyUp to get some of the locked keys to print.

0

It works, thanks!