Alternatives to welding players together in arrest system

Hello! So I am working on an arrest system, but have run into the issue that when detaining a player and carrying them to the police station to get put in jail, the cop is severely slowed down.
It is probably because I am using welds to weld them together and I’ve heard that it’s not the best practice to use welds.

I’ve tried using AlignPosition and AlignOrientation which worked but were really weird and janky making the prisoner seem like they’re getting tugged by a rope and flung around.

I was wondering if anyone had any other alternatives or ideas on how to make the Aligns work.
I am kinda in a hurry since I am making this for someone and need to get it done quickly.

Thanks for the help!

1 Like

As far as I know, there is ways you can keep the player in front of you. Essentially, you can make their avatar “massless” and use welds which keep them in front of you.
On the other hand, you can set their CFrame to be in front of you until you drop them.
These could be 2 ways. Hope I was helpful!

1 Like

I’ve tried making them massless and have no collisions and that somehow made it worse. Not sure why but it did.
I also tried constantly setting the CFrame but the way the system is setup it would require a coroutine or task.spawn and for whatever reason I couldn’t get those to start.
I can keep trying though.
Thanks for the suggestions!

Hey so I got the cframe thing to work but it uhhh…didn’t quite work as expected…


It seems on the servers perspective it works just fine though.

It’s likely that you are using tweenservice. Avoid that. What I would do is a coroute with a loop or you can check vids on yt theyre also good

1 Like

Have you tried weldconstraints?

1 Like

I am not using tween service. I am using runservice to move them every heartbeat (inside a task.spawn. I’ll try a coroutine in just a minute)

This is what I am trying to avoid doing as it’s what’s slowing the player down

Same Issue as before when using Coroutines. I think the issue is that there is too much client lag on the cop’s end but I don’t know how to reduce that.

Sorry for the trouble

Use Network Ownership. Set the cop as the network owner of the detained person’s Root Part, when released simply reset the network ownership.

I tried doing that but it didn’t seem to do anything. I can try again when I’m not busy though. Not sure why it didn’t do anything.

Thanks for the suggestion though!

I apologize for bumping this but I am very much in need of help. If anyone has any ideas please let me know.

Thanks for the help and sorry for the trouble