Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I lock first person mode?

Asked by 7 years ago

I want to make a first person shooter game but I don't know how to lock the camera to first person mode

2 answers

Log in to vote
2
Answered by
Acryius 22
7 years ago

Check out this: http://wiki.roblox.com/index.php?title=API:Class/Player/CameraMode

You can lock it to first person by having this into your script.

game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
Ad
Log in to vote
0
Answered by 3 years ago

What you also can do is...

That you go into StarterPlayer, Open the Properties window. And change the cameramaxzoomdistance to 0.5

I personally use this when i create FPS games

Answer this question