Camera Manipulation is a pain for me. When I work on it for one simple thing, the next is just impossible or extremely hard for me to get right.
This time I want to have the camera to be locked on a part (BrickA) while following the position of a player if they are moving around in the world. Sounds simple but the following script I have seems to not want to do this even though I've read what each property of the Camera Object does (CameraSubject, Focus, and CFrame).
wait(3)
print("Start")
while true do
game.Workspace.CurrentCamera.CameraSubject = game.Workspace.Player1.Head --This should have the Camera look at the head of the Player.
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(game.Workspace.CameraBricks.BrickA.Position) --This should be locking the camera to BrickA's Position.
wait()
end
It's a basic script and I became frustrated with the last script after deleting it in rage so that's why there's no local variables setting currentCamera or LocalPlayer.

1 comment
A simpler explanation of what these Types did helped. Thanks!