Hello, all of the DevForum.
I was wondering if there was a way I could maybe reference a for loop in a for loop? I’m trying to identify a folder, and when it finds that folder, I use another for loop to get the model inside. I don’t really know how to explain it better. Here is what my code looks like.
for _ , v in pairs(workspace:GetChildren()) do
if v:IsA('Folder') then
for __, v2 in pairs(v:GetChildren) do
print(v2)
end
end
end
I most likely look pretty stupid right now.
(Thanks for the help in advance.)