Any way to disable WASD movement?

I’m making a game in first person that with the camera mode that I have on would fit better with the arrow keys and would like to to disable WASD. Is there any way that I can make a script that makes only the arrow keys move the character?

1 Like

No, the only way to work around is completely to disable the walk speed and make the character move yourself.

1 Like

Except change Up, Down, Left, Right to W, A, S, D

3 Likes

local Controller = require(game.Players.LocalPlayer:WaitForChild(“PlayerScripts”):WaitForChild(“PlayerModule”)):GetControls()

Controller:Disable() --disables movement
Controller:Enable()

This disables all controls.
You can then enable the arrow keys individually.

6 Likes

You can set the humanoid speed to 0, which will stop all movement of the player.

1 Like

Loop through the players and get their character, and anchor the characters children with a classname of, “Part”

Humanoid’s automatically control anchored parts.

This should be the solution to the post.