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

Color changing decal with fade effect?

Does anyone know how to make a script that will change the decal not by just changing like make it have a fade effect. I want to make it look as if it is changing color's by making different colored images and uploading them as decals, Then use the script to make it look as if it is changing colors! I have looked all over the wiki and google and could not find anything. I saw it at Snowies and would love to use something like it. Thanks for the help! :)

3 answers

That would take a long time to upload but simply set the decal id to the id of the image. Upload an image by creating a decal, and inserting it by id with the insertservice, then copy the image id and use that in your script as one frame. It would take a couple minutes just to upload so good luck and If you didn't understand that tell me what you didn't understand.

Answer edit: You need a lot of images and use just plain wait() You might actually be able to set the decal's saturation to 0 (black/white) one image, then set its transparency to 0.01 and create a surface gui with a frame in it of size {1, 0}, {1, 0} to fill up the brick, and set the frame's transparency to 0.5 also, then set the frame's color to Color3.new(r/255, b/255, g/255). You might need to find a way to add up 1/255 at a time and use rainbow colors, but I have never had a rainbow colors problem. Try BrickColor.new(brickcolorname).Color and use those, but have it add up from it's last values to that color. It's hard to explain but it might work.

5 comments

0

Okay, I know that. The part I was struggling with is how do I make it fade, Like so it doesn't look choppy when it changes. More of a fade effect when it changes. Thanks!

0

Like if you have ever been to snowies they have their logo and it fades different color's.

0

If possible could you post the script for the rainbow? If Possible. Thanks!

0

I will try!

0

Try this, only modify it to adjust a surface gui frame with whatever transparency (example 0.5): https://scriptinghelpers.org/questions/4753/how-do-you-make-something-fade-from-a-color-to-another-color

If you want your decal to fade look no further! Use for loops!!!

while true do
for i = 0, 1, .1 do
script.Parent.Decal.Transparency = i
wait()
end
wait(.3)
for i = 1, 0, -.1 do
script.Parent.Decal.Transparency = i
wait()
end
end

15 comments

0

I'll try it! Also, Does this make it invisible then make it visible again as a new color, I'm trying to keep it visible but, fade a different color.

0

No, it only makes it invisible and then back to visible but it doesnt change color.If you want an image to change color use SurfaceGuis on bricks within a ImageLabel!

0

I don't know how snowies did it then. They have like a decal that fades different colors. I'd recommend taking a look at their place. It's interesting.

0

How do you its a decal?

0

I don't know I think they made like a bunch of different colored decals then added them, but, I want a fade affect without making it invisible and a choppy change.

0

Oh,

0

Like I said, If you could take a look at http://www.roblox.com/games/296681430/Snowies-Cafe You will notice their color changing logo on the wall. It looks really nice. I just don't know how they did it.

0

I found a post on the wiki page about Re texturing Going to give it a try

0

Okay, good luck!

0

Okay, i think i know now. They used Surface guis and put a ImageLabel and the image is white so what they did is Color3.new() to change colors!

0

Nevermind Retexturing is for mesh's. Still nothing :(

0

Okay I am going to try that out I made a white decal created an image label and and added a script with, Color3.new(). Would that be all I add to the script? just Color3.new()

0

@Ultra wouldn't I use ImageColor3.new()

0

No...

0

I'm still having issues, I sent you a friend req.

SOLVED!

while wait(0.1) do script.Parent.ImageColor3 = Color3.new(math.random(0, 255)/255, math.random(0, 255)/255, math.random(0, 255)/255) end

This script should go inside of the ImageLabel.

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