Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would i go about changing color of everything efficiently?

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

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.

4 comments

0

I've tried this, But it's quite inneficient and takes time / can be laggy on big maps

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.

0

just make the screen red

0

That wouldn't achieve what im looking for, I want it to be like the image i had in the post

This discussion is preserved as it was. New answers, comments, and votes are closed.