Not sure what went wrong, I made this a little while ago and whether it's just a typo when I was typing it again, roblox broke it, or it's just incorrect. But here's what I've got.
local player = game.Players.LocalPlayer player.CameraMode = Enum.CameraMode.Classic wait() player.CameraMode = Enum.CameraMode.LockFirstPerson
I am a beginner scripter, so sorry if I'm causing more trouble than it's worth. Just working on the basics again. Thank you.
Use a LocalScript and put it into StarterPack, your script looks fine just might have put it in your game the wrong way.