part = workspace:WaitForChild("Part")
Pos = workspace:WaitForChild("Pos")
Pos.CFrame = CFrame.new(Pos.Position,part.Position)
cam = workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam.CoordinateFrame = CFrame.new(Pos.Position)
This is in a local script in starterGui.The part is supposed to represent what I am looking at. Pos is where the camera is. The 3rd line points the camera towards part. I am unsure why this does not work.

1 comment
I added that it still doesnt work