I am trying to have a motor6d weld the handle of a sword to the right arm of the character. Whenever I create the motor6d it is inactive, I can’t seem to figure out why I have checked for constraints and other things that could be causing it, but I can’t find out why this occurs.
Your code is creating a weld and parenting it to the character Model, but it looks like there is a line above it that is trying to destroy an existing motor also named “Motor6D” which it expects to find parented to the “Right Arm” part, to the character Model. Is it possible you’re making multiple connections (duplicate motors) because you’re code is looking in the wrong place to clean up previous welds?
Motor6Ds are usually only inactive if there is an existing constraint (including another Motor6D or Weld) already active with the same Part0 and Part1.
i am basically trying to use different sword to make my life easier, by having one for the back and one for normal use. The weld being destroyed is the weld from the previous sword