First Person MouseLocked

Hey, im currently working on a first-person shooter game.
Im currently working on a menu UI that players can access.
But the problem with First-Person is that your mouse doesnt move, and im trying to figure out the best way to solve this.
Ive tried different things, and so I need help finding the most practical and easy way to unlock a mouse in 1st Person mode.

I feel like there is a bool property somewhere for this but I cannot figure it out, thanks for your time!

1 Like

I think that’s 1 of them? But that only goes for GUI Buttons

I’ve already used it in my two games: when deploying a player, set game:GetService("Players").LocalPlayer.CameraMinZoomDistance = 0.5 and game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 0.5
When player gets killed (simply add a LocalScript into StarterGui with the code) you can do this: game:GetService("Players").LocalPlayer.CameraMinZoomDistance = 1 and game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = 1

1 Like