Ok so my script is kinda like:
mouse.KeyDown:connect(function(key) print(""..key.." Down") end) mouse.KeyUp:connect(function(key) print(""..key.." Up") end)
when i press 1, 2 and 3. It doesn't print when Key down but it does print when Key up. Anyone know why does this happen? Please respond soon, thanks!
You made a typo on line #2.
Also, secondly, mouse.KeyDown is deprecated. It is recommended you use UserInputService instead. It works differently and might not seem as straightforward at first, but is actually pretty easy to use can make your game work on both PC, phones, tablets and Xbox.