Why does this not do each item at the same time? It only does them one-by-one, which I thought the spawn() is supposed to fix.
I already tried asking at Hidden Developers, however they’re just talking in the chat.
spawn(function() -- Added an extra one just to see if it'd fix the problem
for _,LEDFolder in pairs(game.Workspace.PureLEDs:GetChildren()) do
if table.find(SelectedLEDs, LEDFolder.Name) then
spawn(function()
for _,LED in pairs(LEDFolder:GetChildren()) do
LED.SurfaceLight.Color = Color
LED.mainDesign.Design.BackgroundColor3 = Color
wait(.5)
LED.SurfaceLight.Color = Color3.fromRGB(0,0,0)
LED.mainDesign.Design.BackgroundColor3 = Color3.fromRGB(0,0,0)
--Removed rest for no spam
end
end)
end
end
end)