>>1858195
You're supposed to make your own plugin
[code]
game:GetService("ChangeHistoryService"):SetWaypoint("a")
xpcall(function()
local parts = {}
for _,v in ipairs(game:GetService("Selection"):Get()) do
if v:IsA("BasePart") then
table.insert(parts, v)
end
end
local last = table.remove(parts)
for _,v in ipairs(parts) do
local weld = Instance.new("WeldConstraint")
weld.Part0 = last
weld.Part1 = v
weld.Parent = last
end
end, warn)
game:GetService("ChangeHistoryService"):SetWaypoint("b")
[/code]
This command bar code welds all selected parts to the last selected one. Alt-drag over the model (because it doesn't get the descendants), deselect and reselect the primary part.
Beside this, there is already a built-in "weld all parts to each other" action in Studio. Select your parts then go to Model > Constraints > Create > Weld. I had to write my own welder because I didn't like which part it welded everything to and where it placed the welds.