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.

1 comment
try using the currentcamera located in the workspace