I'd prefer if people playing my game weren't able to use mouselock. Is there anyway to just disable it?
Thanks!
Actually there is a property in the player that is there for this very purpose. If you go into Studio, in the explorer go to StarterPlayer
> EnableMouseLockOption
and set it to false.
Also, a script that would work to set this false in game, would be something like this:
game.Players.PlayerAdded:connect(function(Player) Player.DevEnableMouseLock = false end)
I believe this is what you were looking for. If not, or if you have any further questions, please leave a comment below. Hope I helped :P
In StarterPlayer there is a property at the bottom that you can disable to prevent mouselock.