I'm trying to make a For loop that loops once for each child inside a folder. Basically, I want a function that does one command to each child in the folder (AKA, telling each audio inside the folder to play), and I've seen people do this with For loops before. How would I achieve this?
for _,v in pairs(Folder:GetChildren()) do --foo() end
Inside this loop, v will represent each child of the folder separately.