Tweening an angle while changing position causes part to teleport everywhere

(This is a continuation from this post as I don’t know if i’m supposed to make a separate post or keep everything in this one)

Im trying to tween an angle with CFrame, but if I set the position with cframe (not tweening) it will start teleporting around.

Here is my code so far.

local x, y, z = camera.CFrame:ToEulerAnglesXYZ()
arm.arm.CFrame = CFrame.new(camera.CFrame.Position)
game.TweenService:Create(arm.arm, TweenInfo.new(0.0625, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), { CFrame = CFrame.Angles(x, y, z) }):Play()

If you want context, i’m pretty trying to make a minecraft-style first person arm smoothly sway by using tweens and cframe.

(Look at the arm)

(What happens)

I have used a different way to sway the arm, so this is solved.