Why does this camera script not work?

So I was working on a loading screen for my game and for some reason my camera script isnt working and its really basic.

`local CurrentCamera = workspace.CurrentCamera

local point = workspace:WaitForChild("cam")

CurrentCamera.CameraType = "Scriptable"

CurrentCamera.Focus = point.CFrame`

You should change a camera’s position using CFrame, this way you can set it exactly where you want, you can also add angles and offsets to get a better with the camera.

local CurrentCamera = workspace.CurrentCamera 
local point = workspace:WaitForChild("cam")
CurrentCamera.CameraType = "Scriptable"
CurrentCamera.CFrame = point.CFrame

You can also use the TweenService to make the movement smooth if you need.

for some reason its still on my character and not the part

Fixed it by adding focus and subject to that aswell