You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to be able to weld a character to another character for a grab ability in my fighting game
What is the issue? Include screenshots / videos if possible!
The character dies if I weld them to a dead character.
As you can see, the person performing the grab dies when they try to grab me.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried using a Motor6D and a rigid constraint. Both of them had the exact same problem.
I also tried using an align position and orientation, however, the position of the person who is grabbed is delayed to the grabbers position on the client because of ping.
I’m pretty sure this is just an engine bug. If I could get the align position method to not be delayed then I would use that however I’m not sure of how to do that.
Honestly I have no clue how the RigidConstraint works, I instead recommend using an actual weld.
local weld = Instance.new("Weld")
weld.Name = "GrabWeld"
weld.Part0, weld.Part1 = hrp, ehrp
-- set/change the C0/C1 of the weld if you want the roots not to be inside of eachother.
weld.Parent = ehrp
Yeah the HumanoidRootPart getting disconnected from the motor6d with the torso, check if this bond gets broken if it does that is the reason why the player is getting killed.