My "Dev" settings are not working
and i want to set "DevEnableMouseLock" to false and other as in the code.
My Local script located in "StarterPlayerScripts"
local player = game.Players.LocalPlayer player.DevEnableMouseLock = false player.DevComputerCameraMode = "Classic" player.DevComputerMovementMode = "1"
I got this in the Output when I play.
19:03:44.432 - Insufficent permissions to set DevEnableMouseLockOption
19:03:44.433 - The current identity (2) cannot setDevEnableMouseLockOption (lacking permission 5)
How i can fix it?
When doing this, you should set it in StarterPlayer, not for each player. You can do this with a normal Script inside ServerScriptService. Here is the code I made for this.
game.StarterPlayer.EnableMouseLockOption = false --Sets ShiftLock off game.StarterPlayer.DevComputerCameraMovementMode = Enum.DevComputerCameraMovementMode.Classic --Makes cameramovement to classic game.StarterPlayer.DevComputerMovementMode = Enum.DevComputerMovementMode.KeyboardMouse --Makes movementmode to keyboardmouse