I would like to make it so in my FPS game, people can't can't zoom out and they are stuck in first person.
How would I make it so people are stuck in first person?
3 answers
Hey!
You can lock somebody in first person by setting the player.CameraMode property! You can view the documentation on it here. You can set the CameraMode to LockFirstPerson with the script below...
local Player = game.Players.LocalPlayer
Player.CameraMode = Enum.CameraMode.LockFirstPerson
To change it back, you can set the CameraMode back to Classic like shown below...
Player.CameraMode = Enum.CameraMode.Classic
If this helped, please remember to mark as answered and upvote! If you have any questions, let me know.
Hello. Set CameraMaxZoomDistance to 0.5 and CameraMode to LockFirstPerson in theStarterPlayer service. You don't even need a script.
3 comments
thank you :)
setting cameramaxzoomdistance is useless if its locked in first person...
Please accept my answer.
sloth octopus cat polar bear turtle sea otter kitten sloth mouse squirrel otter llama UwU
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you! This really helped me as I am new to coding and am trying to receive as much information as possible and I was quite lucky when I stumbled on this website and thank you very much again I appreciate your help a lot :3