-
*What do you want to achieve?
I wanted to know how could i replace the weld / weld constraint, when the victim was killed when both player and victim was welded together which kills both. -
*What is the issue?
Using the weld constraint :
-Part0 to player’s HumanoidRootPart, Part1 to victim’s HumanoidRootPart
Result:
-Both victim and player dies -
*What solutions have you tried so far?
-AlignPos + AlignOrien : Victim moves not correctly/smoothly
-PrismaticConstraint + AlignOrien : Same as AlignPos
Here’s a part of my weld code on server side:
local weld = Instance.new("PrismaticConstraint")
table.insert(self.Welds, weld)
local tempAt = Instance.new("Attachment")
tempAt.Parent = p.Parent.HumanoidRootPart
table.insert(self.Welds, tempAt)
local weld2 = Instance.new("AlignOrientation")
weld2.Name = "carryweld"
weld2.Parent = Info.Char
table.insert(self.Welds, weld2)
weld2.Name = "carryweld2"
weld2.Parent = Info.Char
weld.Attachment0 = tempAt --Player's attachment
weld.LimitsEnabled = true
weld.UpperLimit = 0
weld.Restitution = 0
weld.LowerLimit = 0
weld.Size = 0
p.Parent.HumanoidRootPart.CFrame = Info.Char.HumanoidRootPart.CFrame*CFrame.new(0,0,-4)
weld.Attachment1 = tempAt2
weld2.Attachment0 = tempAt
weld2.RigidityEnabled = true
weld2.Attachment1 = tempAt2
table.insert(self.Welds, weld2)
Is there anyway to make the victim moves smoothly like weld constraint but not killing both?
Btw, any help is appreciated