Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Putting loops on multiple parts simultaneously?

Asked by 6 years ago

I have a loop that runs on a part if it's name is Eye but it only does one part at a time, how can I get this loop to run at multiple parts at a time?

for i,v in pairs(script.Parent:GetChildren()) do
    if v.Name == "Eye" then
        FadeOut(v, 1, 0)
    end
end
0
POST THE CODE. User#19524 175 — 6y

Answer this question