for _, units in pairs(result) do
print(units)
--print(units:GetChildren())
for _, soldier in pairs(units:GetChildren()) do -- print out indivual humanoids
print(soldier)
end
end
That wasn’t quite what I was looking for as it printed out the dummy’s individual parts.
I had solved it by going through each key in the table instead.
for _, units in pairs(result) do
print(units)
for i=1,#units do
print(units[i]) -- prints out the individual dummys
end
end