Ragdoll character upper and lower torso moving

Whenever the character is moving and it gets ragdolled, the ragdoll character upper and lower torso oscillates.

This doesnt happen when the character isnt moving and it gets ragdolled

Ragdolled while moving:

Ragdolled while standing Still

Code Info

I ragdoll the character from server and use a remote event to change humanoid state to Physics
I use ball socket, the HumanoidRootPart.CanCollide is false


Things I already tried on the local script remote call:

  • Set MaxFrictionTorque is 100 for all
  • Humanoid.WalkSpeed = 0
  • UpperTorso.Velocity = 0, LowerTorso.Velocity = 0
  • UpperTorso.AssemblyLinearVelocity = 0, LowerTorso.AssemblyLinearVelocity = 0
  • Humanoid.PlatformStand = true, false
  • RunService.RenderStepped: Humanoid.CameraOffset = Vector3.new(0,0,0)

This has been very frustrating, I spent so long but still cant fix it. A help would be very appreciated