My situation is that in a loading screen the camera is manipulated to appear somewhere else rather than going to the player's normal camera. Upon clicking play, the camera goes to the player's normal camera, but whenever the player resets the camera also changes back to where it is manipulated.
Here is the script I am using for the camera manipulation. Basically, I want the camera to stay with the player rather than go back to a certain position.
local player = game.Players.LocalPlayer
local character = player.Character
local camera = workspace.CurrentCamera
repeat wait()
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
camera.CFrame = workspace.CameraPos.CFrame
local blur = Instance.new("BlurEffect",camera)
blur.Size = 10

2 comments
Why can't you just say 'camera.CameraType = Enum.CameraType.Scriptable'? It doesn't need to be repeated...
Whenever I replace the repeated command it starts the camera at the fixed position above the character like normal. Then, when the character respawns the camera goes to CameraType.Scriptable, and from there it stays forever even when the character respawns again.