Im trying to build a statue. which i succeeded. but i want it to be able to be draged. by that i mean the entire statue welded together into one. If i get this finished then players can drag it to there fort. and so on. got any ideas on how to do it? please. i cant weld it the old fansioned way because the parts are rotated.
You can paste this into a script, which will weld everything in the model it is under:
local weldTo = --Change to part you want to weld everything to. local parts={weldTo} function Weld(parent) for i,v in pairs(parent:GetChildren()) do if v:IsA('BasePart') and v ~= weldTo then local w = Instance.new('Weld') w.Name = 'Weld' w.Part0 = weldTo w.Part1 = v w.C0 = weldTo.CFrame:inverse() w.C1 = v.CFrame:inverse() w.Parent = weldTo table.insert(parts,v) end Weld(v) end end Weld(script.Parent) for i,v in pairs(parts) do v.Anchored = false end