Has MakeJoints() changed?

I have a game where the player can build using a clone tool.

I want MakeJoints only to join parts where the studs-inlet rule apply. Something has changed and it doesn’t work like that anymore:

When the player releases the click, the server runs newPart:MakeJoints() but the part sticks to anything, ignoring if the surface has studs or not.

One solution i think may work is to weld the parts manually since MakeJoints is deprecated, Workspace:MakeJoints
But i think it may be overkilling.

Thanks in advance.

1 Like

Most everything you’re using here is going to be removed or is deprecated. Surfaces are now being removed (might have already been removed, not 100% sure) Changes to Part Surfaces
Would it be possible to use a WeldConstraint ?

1 Like

That is what i was looking for, maybe i can check if it’s a baseplate or something i don’t want to weld and ignore it.

I ended up using GetTouchingParts(), but it also gets adjacent parts? - #9 by Trioxide

To get the closer parts and weld them if they are not a base part.