✓ Accepted answer
In the past, changing this property would automatically make the camera look towards it, though this is no longer always the case.
.Focus is used to make camera focus to the objects near that position, to see those objects more detailed. You need to use .CoordinateFrame to make Camera look at that position. To make camera look at somewhere, you can use:
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = workspace.focushere
while wait() do
camera.CoordinateFrame = CFrame.new(54.284, 77.972, -159.44)
camera.CoordinateFrame = CFrame.new(camera.CoordinateFrame.p, workspace.focushere.Position)
end
CFrame.new(FirstPos, SecondPos) will create a rotation to make a part(Or camera) which has same position with FirstPos turn its face to SecondPos.
IMPORTANT NOTE: Make sure your script is a LocalScript and in StarterPack or StarterGui