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.
COMMUNITY QUESTION
Is it possible to lock the movement controller/mode?
2 answers
Very Simple:
Select StarterPlayer from the explorer.
Change CameraMaxZoomDistance to .5
And your done :)
Sources to help you: How to Lock Players in First Person in your Roblox game
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.
