Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I disable forwards and backwards movement?

Title says everything, how would I do it?

2 answers

You can do this simply by going to Starterplayer and then set CharacterWalkSpeed to 0

Use ContextActionService!

ContextActionService

local CAS = game:GetService("ContextActionService")

CAS:UnbindAction("moveForwardAction")
CAS:UnbindAction("moveBackwardAction")

Keep in mind, this only works in LocalScripts!

Picture of All Actions

Hope this helped! Feel free to select this as an answer if this worked for you!

This discussion is preserved as it was. New answers, comments, and votes are closed.