of     1   

XxXSalvatorXxX
#183752241Tuesday, February 16, 2016 2:00 PM GMT

I'm getting an error when I launch the game that says I have insufficient permissions to set DevEnableMouseLockOption in my own game?
cheesecake123456
#183752385Tuesday, February 16, 2016 2:04 PM GMT

Is your code: game:GetService('StarterPlayer').EnableMouseLockOption = true --(or false)
XxXSalvatorXxX
#183752591Tuesday, February 16, 2016 2:09 PM GMT

I was trying to turn off the mouse lock option when the player sprints but the game says I don't have sufficient permissions to do this...
XxXSalvatorXxX
#183752700Tuesday, February 16, 2016 2:12 PM GMT

Nevermind I found the problem.
cheesecake123456
#183752702Tuesday, February 16, 2016 2:12 PM GMT

Well the wiki(http://wiki.roblox.com/index.php?title=API:Class/Player/DevEnableMouseLock) says that the value of DevEnableMouseLock is set by the value of EnableMouseLockOption, so try changing that instead of DevEnable.

    of     1