I have a script for my play button screen that shows a view from a brick called CameraPos until the button is pressed. However, the camera sometimes goes back to where the player died instead of following the player after pressing play.
Localscript in startergui:
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```
Script inside button:
```script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Enabled = false
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
workspace.CurrentCamera.Blur.Enabled = false
end)```