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

Is it possible to lock the movement controller/mode?

So I spent about three hours working on recreating the old click to move system before realizing the Roblox has a built-in "Click to Move" mode. But now I can't figure out how to set the movement mode to Click to Move. Any help would be nice.

2 answers

Yes it is, put this in a local script.

local GameSettings = UserSettings():GetService("UserGameSettings")

while GameSettings.ComputerMovementMode ~= 2 do
	-- Code if not in Click to Move mode --
end

That should work but just know I'm not too good with GetService and stuff. I cant figure out a way to force the mode with a script but you can detect when it isn't and ask the player to change it.

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