I have a localscript inside of starterplayerscripts, and get the currentCamera, and set the type to Scriptable. But when I enter the game, its set to Custom still (it doesnt error). Here is the code:
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
doing
repeat
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
doesnt work either. How could I fix this?
Any help appreciated!

2 comments
Could be wrong, but I believe its because you are trying to set the camera to scriptable before the character joins and the camera is assigned to them. Try adding a 'Player.CharacterAdded:Wait()' before you set the camera, or repeat wait() until Player.Character
thanks! could you put that as an answer to accept?