Oh boy.. I know that this has been asked for quite a few times throughout the website, but I can't seem to get it to work. I've put it in StarterGui and set it to a localscript.
repeat wait() until game.Players.LocalPlayer
local p = game.Players.LocalPlayer
p.CameraMode = "LockFirstPerson"
Any help is appreciated. thanks.

1 comment
Try also waiting for the player's character