Put this in a LocalScript that clones inside of the player's PlayerGui:
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
Make a Local Script
into StarterPack
, Then
Type this line into that script:
script.Parent.Parent.CameraMode = "LockFirstPerson"
You need to put this line in a local script that is imported into the playergui, player, or player character.
game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
Script.Parent.Parent.CameraMode = LockFirstPerson
I may be wrong......