Weld Constraint doesn't weld

I am welding a tools for my game and all the parts don’t weld.

  • What are you attempting to achieve?
    I want to have tools that has multiple parts that can be moved all together with the handle.
  • What is the issue?
    Weld Constraint doesn’t weld.
  • What solutions have you tried so far?
    I’ve looked that the forums and found nothing useful. I’ve tried regular welds, anchoring the tools, un anchoring the tools and it still doesn’t work.

    stuff
1 Like

Under the weld constraint properties have you set the attachment0 and attachment1?

1 Like

Yes. It has part0 has handle and part 1 as the other parts in the tool.

1 Like

Place all those other parts into the handle.

1 Like

Name the welds so you don’t get confused.
ex. MagWeld, Mag2Weld etc… Then set all the welds’ Part1 to Handle then Part0 to what the items supposed to be.

Example:
put MagWeld’s Part0 to Mag
put Mag2Weld’s Part0 to Mag2

Also, the tool’s parts need to be unanchored or else the player won’t move.

1 Like

There needs to be more information about the problem you are trying to solve.

What script is welding the tool? If it came from a LocalScript, then it likely won’t work.

If you hand-made it, then I would suggest using plugins instead. There are some good ones out there that weld the parts for you.

I’m not using any scripts for the welding, I’m just using weld constraints.

Another thing that I wanted to mention, was that the welds work fine when the tools aren’t being teleported. I have a script so that the tools spawn inside of the map. I only teleported the handle because I think that’s how weld constraints work.

Have you moved the other parts into the handle as i suggested?

Yes, it still does not work. I’ve tried this before I forgot to mention that.

When you clone and spawn things with welds, does your script then also MakeJoints, because cloning welded objects will break these joints.

I did not know that moving welded objects would break the joints. Let me add the to the script.

Even with the script it doesn’t work.

So it spawns in just the handle, and then the other parts are in the workspace somewhere?

So the parts are still inside of the tool but are in completely different positions.

Try this solution here:

Also make sure the handle is the primary part.