you get the velocity of the humanoidRootPart and see if the humanoid’s move magnitude is above 0, you lerp the weapon’s CFrame offset
of the humanoidRootPart’s velocity i mentioned earlier, make sure to divide and clamp it to a maximum (like 1.5 studs)