Left Arm spins randomly when lerping CFrame

  1. What do you want to achieve? Keep it simple and clear!

I want to make viewmodel cframe sprinting animations

  1. What is the issue? Include screenshots / videos if possible!

when iam updating the LeftArm its broken, iam using this:

Viewmodel.HumanoidRootPart.LeftArm.C0 *= pistolsprintCFrame

in a renderstepped function so it updates every frame. But the LeftArm of the viewmodel just spins randomly.

Heres my CFrame config

pistolsprintCFrame:Lerp(CFrame.Angles(math.rad(90), 0, 0),  1 - Toolsettings.AimValue ^ dt)

and i did make the CFrame turn into an empty one when not sprinting:

pistolsprintCFrame:Lerp(CFrame.new(),  1 - Toolsettings.AimValue ^ dt)

What Happens:

would it happen to be in a loop?

yes its was on a rendderstepped function so i switched it to an input funtion it works but rotates weirdly