Cant change camera cframe

I cant change camera cframe. When changing a cframe its scriptable(i checked in debug), but cframe just doesnt change.

local script

local camera = game.Workspace.CurrentCamera
	player.CameraLocked.Value = true
	wait(0.1)
	camera.CameraType = Enum.CameraType.Scriptable
	local cf = CFrame.new(model.Head.Position,model.Head.Position)
	camera.CFrame = cf

Can you show your full script? i literally didn’t understand anything from it.