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

How do I lock the camera mode and not allow players to change it?

Asked by 6 years ago

I tried looking it up on Roblox Wiki, but I am confused, as I tried it, and looked at my settings, I could see that I could still change my camera mode. I am trying to lock it to classic mode. I used a local script and put it in the starter player folder(Character).

In case you are wondering what local script I'm using, here it is:

game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockClassic

2 answers

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

All I did was add a loop, try that, if it doesn't work, hit me back.

while wait() do
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
end
0
This will lock the player's into first person. StoleYourClothes 105 — 6y
Ad
Log in to vote
0
Answered by
Galicate 106
6 years ago

Well if you go into the starter players folder, there is a property called cameramode and it has 2 options, {classic is where u can zoom in an out, lockfirstperson locks the person into first person and it cannot be changed by the player, only by a script.}

Answer this question