local stufftoremove = {} for i,v in pairs(game.Selection:Get()) do if v:IsA("BasePart") and #v:GetJoints() >= 1 then print(v.Name) table.insert(stufftoremove,v) end end game.Selection:Remove(stufftoremove)
Have the base or the primary part of your model already attached to another part by default, make sure it is welded.
Type this in command. Click a model and select all the children. Hit enter on the command, the unwelded parts will be selected. Now just drag the parts up and make sure join surfaces is on and then drag the parts back down. Repeat the process until there are no more parts able to be selected.
Hope this helps leave a heart so others can see it.
This command will help you weld every part next to each other.
whereas If you welded all the parts of something to 1 part then it’s going to look weird when the supporting base of the part breaks off for some reason and ur left with hovering parts in mid air still attached to that single part.