How to make a drag system

Hi, how would i go about making a sytem for when i click on a ragdolled player i am able to drag then like in the clip here

Im guessing it’s just animation, and the other player RootPart is welded to your arm (the other body parts are in ragdoll state, u can get that with some modules)

1 Like

To create a drag system similar to this, you could use RopeConstraints

For my drag system I am using an R6 rig so our ragdolls may be different, but start by ragdolling the person you are dragging, then creating rope constraint between the player you are dragging and yourself, then you want to set the target’s humanoid platformstand on and make sure the targets humanoidrootpart has cancollide off.

image

After this I suggest setting the target’s baseparts networkownership to the player who is dragging them.

image

After doing all this and adding a hold animation you should end up with something like this!

for setnetworkowner, you only need to set the network owner of one part of the assembly. Roblox will automatically set the network owners of the rest of the assembly, so that for loop may not be needed. Also, to pairs() is deprecated; assuming myTable is of type “table”,
for _,_ in myTable do end
will perform the same thing as
for _,_ in pairs(myTable) do end

will not perform the same, generalized iterator is faster than pairs

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.