How do you disable specific keycodes?

Hey, I was wondering how would you disable specific keycodes. (for example if you press W it doesn’t move the character forward) I was having trouble looking for videos on the Internet. One guy on the Unofficial Roblox Disc told me to look in PlayerModule > ControlModule > Keyboard. Can anyone help me?

1 Like

Yeah I did that and it worked

Basically, go in game and copy your PlayerModule. Stop testing and paste the PlayerModule into StarterPlayerScripts. Go into the Keyboard module script and comment this on line 121 and 122.

I can’t move forward now!

2 Likes

woah that’s amazing, thank you for your solution whereiswayne!

2 Likes