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

How do I change 6 decals with a for loop?

Asked by 5 years ago

I'm making a mining game (With a twist) and I need to flash all 6 decals in a block red for 0.09 seconds. This kinda works, but i've created a color chaser. Can I have some help please?

for _,i in pairs(block:GetChildren()) do
    if i:IsA("Decal") then
        i.Color3 = Color3.fromRGB(255,10,10)
        wait(0.09)
        i.Color3 = Color3.fromRGB(255,255,255)
    end
end
0
i don’t get what you want to accomplish. what is a "color chaser"? User#19524 175 — 5y
1
when you learn english so I can be able to help you please notify me Elixcore 1337 — 5y
0
^ User#19524 175 — 5y
0
I think he means that it flashes them red one by one masterblokz 58 — 5y
0
^^^ is what is happening xxxhypertextxxx 0 — 5y

Answer this question