How can I use camera animation for an FPS viewmodel?

I have a part called camera in my viewmodel model, and it is supposed describe the rotation offset with the actual camera. This part is also called fake camera, camera bone, etc. How can I actually implement this offset? I have it animated, but I don’t know where to start. https://www.youtube.com/watch?v=RnuthrKfEMA is an example of what I want to achieve.

Have you figured this out yet?

nope… no answer… (char limit)

Here is example

local NewCamCF = Framework.ViewModel.Camera.CFrame:ToObjectSpace(Framework.ViewModel.PrimaryPart.CFrame)
	Camera.CFrame = Camera.CFrame * NewCamCF:ToObjectSpace(OldCamCF)
	OldCamCF = NewCamCF
end

RunService.RenderStepped:Connect(function()

	lastCameraCF = Camera.CFrame

	UpdateCameraShake()

	end
end	

This was a lot later, but I figured this out. This solution works too.