function WeldModel(path, handle) local handle = handle or path:FindFirstChild("Handle"); if not handle then return nil; end local new, weld = Instance.new; for index, part in next, path:GetChildren() do if part ~= handle then weld = new("Weld", handle); weld.C0 = handle.CFrame:toObjectSpace(part.CFrame); weld.Part0 = handle; weld.Part1 = part; end end end function WeldModel(path, handle) local handle = handle or path:FindFirstChild("Handle"); if not handle then return nil; end local new, weld = Instance.new; local ToObjectSpace = handle.CFrame.toObjectSpace; for index, part in next, path:GetChildren() do if part ~= handle then weld = new("Weld", handle); weld.C0 = ToObjectSpace(handle.CFrame, part.CFrame); weld.Part0 = handle; weld.Part1 = part; end end end