Help with AlignPosition for Cuff System

Hello, I am making a cuff system. I previously used a Weld Constraint to weld the characters which worked perfectly apart from one glitch that was unfixable (I have looked at many threads that had the same issue, there is no fix for that)

So I attempted to use AlignPosition and Orientation which really confused me. Here is my code:

                local P1 = plr.Character.HumanoidRootPart.RootAttachment
				local P2 = ArrestedChar.HumanoidRootPart.RootAttachment
				local NewConstraint = Instance.new("AlignPosition")
				NewConstraint.Attachment0 = P1
				NewConstraint.Attachment1 = P2
				NewConstraint.Name = "DetainWeld"
				NewConstraint.RigidityEnabled = true
				NewConstraint.Parent = PoliceChar.HumanoidRootPart

				local NewConstraint1 = Instance.new("AlignOrientation")
				NewConstraint1.Parent = PoliceChar.HumanoidRootPart
				NewConstraint1.Attachment0 = P1
				NewConstraint1.Attachment1 = P2
				NewConstraint1.AlignType = Enum.AlignType.PrimaryAxisParallel
				NewConstraint1.RigidityEnabled = true
				NewConstraint1.ReactionTorqueEnabled = true

it kinda works ig…But this is the issue:
image

I have never used AlignPosition/Orientation before so I dont know how to fix this, help would be appreciated. Thank you