I am trying to make a 3rd person game. I have found ways to force mouselock, however I have not found any ways to force, and stop forcing it. The reason I am doing it is because it will make a good 3rd person view, however if I want to open up a gui, I need to disable it until I close the gui. Is there any way to do this, and if not does anybody know how to make a custom one, or can atleast give me a good source?
Your best bet is to look through Roblox PlayerScripts. If you are using legacy PlayerScripts, there is a module under CameraScript called ShiftLockController. For the new ones, I haven’t been able to check them out, so I don’t know what to do in that regard.
This can get you started at the very least, or point you in the right direction. If you’re looking for something quick, you can just change the Humanoid’s CameraOffset.