Camera CFrame not getting set correctly or something

So I’m making a fighting game with a target and camera. But whenever I try to set the camera’s position to the CFrame plus a little offset of the HumanoidRootPart of the player’s character, it does not go to where it should go. It even does this with stationary parts that are in the workspace! My code is below if you want to see what I’m doing.

runService.RenderStepped:Connect(function()
	if target then
		--print(target.Name)
		camera.CameraType = Enum.CameraType.Scriptable
		local camCF = character.HumanoidRootPart.CFrame * CFrame.new(1,2,-2)
		camera.CFrame = camCF
		--camera.Focus = target.Head
		camera.CFrame = camera.CFrame * CFrame.new(camCF.Position,target.Head.CFrame.Position)
	else
		camera.CameraType = Enum.CameraType.Custom
	end
end)

You are trying to multiply an instance with a CFrame value. Add .CFrame after HumanoidRootPart.

Whoops, that was just a typo. Sorry! It’s fixed now.