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

How would i go about changing color of everything efficiently?

Asked by
z_rtx0 5
5 years ago

So I'm trying to recreate a sort of thermal vision in my game, Basically, I want it to look somewhat like This, Is there any easy way of doing this? because changing the color of the entire map is quite inefficient and takes time.

1 answer

Log in to vote
0
Answered by
farizarps 132
5 years ago

You could iterate through every part and change its colour in a small loop.

for i,v in workspace:GetChildren() do
    if v.ClassName == 'Part' then
        v.BrickColor = whatever
    end
end

or you could make a red transparent gui object.

0
I've tried this, But it's quite inneficient and takes time / can be laggy on big maps z_rtx0 5 — 5y
0
Well either way wouldn't it be laggy no matter what you do? I mean, you ARE changing the color of EVERYTHING in your map. Knineteen19 307 — 5y
0
just make the screen red farizarps 132 — 5y
0
That wouldn't achieve what im looking for, I want it to be like the image i had in the post z_rtx0 5 — 5y
Ad

Answer this question