Extreme client-server lag

So, I am currently connecting a ragdoll to a player via RodConstraints.

There’s extreme lag on the server side, while the person dragging the ragdoll does not face any issues. Does anyone know how I could fix this?

I believe it may be caused from one of your server side scripts while the ragdoll is being dragged. You can take a look at that part of the script, and see what’s firing multiple times. You can also try to limit the amount of in game physics being applied.

there’s no lag for both the server and client when the ragdoll drops dead, so it can’t be that

Not sure how secure you need this to be, but you could try setting network ownership of the ragdoll to the client if you’re not already.

I’ve tried setting it to “player”
to the actual player holding it,
and to the server.
Setting it to the actual player reduced server lag but the client started lagging. Setting it to the server had the same result and the first one did not make a difference.