I made a horse, and I could not figure out what the arrow keys were, so I put 'w' but that makes Mobile users not be able to ride the horse. Is there another way?
if Keys["w"] then
Thanks, thenasafarouk
I made a horse, and I could not figure out what the arrow keys were, so I put 'w' but that makes Mobile users not be able to ride the horse. Is there another way?
if Keys["w"] then
Thanks, thenasafarouk
key:byte() = 17
Whenever using a arrow or a key that is not a letter, for instance, SHIFT, then you need to use their number, all keys have a number (if I remember correctly) It's important that you put key:byte() = 17 rather then Keys[17]
You can look there up on the Wiki, or by simply typing "Shift Key Number Roblox"
okay so what are the code for up,down,left,right
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Just use Enum.KeyCode.Up with UserInputService. You should NEVER use keydown anymore, because it's deprecated.