BodyPosition shaking a little bit?

Hey there! I’m asking this question because my Pet Following system is glitching out, and I don’t know what to do!

My Pet randomly starts shaking a tiny bit! Here’s the code:

bodyGyro.CFrame =,char.HumanoidRootPart.Position)
bodyPos.Position = huminoidRootPart.CFrame:ToWorldSpace(,0,6)).Position

This event is in a while wait() do loop!

Thank you!

EDIT: I know BodyMovers are depreciated, but that shouldn’t change this.