UnionAsync children of a model

Hi. What is the best way to union all the children in a model together with UnionAsync? Is this even recommended or is UnionAsync for a minimum of two parts?

Thank you!

Nevermind everyone! This is what I came up with.

local Model = workspace.Model
local Core = workspace.Core

local Group = {}

for Index,Child in pairs(Model:GetChildren()) do
	table.insert(Group,Index,Child)
end

local Union = Core:UnionAsync(Group)
Union.Parent = workspace

1 Like