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

Decal Color Changer? [closed]

Asked by 8 years ago

Hello, I need a script that will change the color of my decal, I know how to make a text label change colors and thats this script: ~~~~~~~~~~~~~~~~~ while true do for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(1,i/255,0) --red to orange wait() end for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(1- (i/255),1,0) --orange to green wait() end for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(0,1,i/255) --green to turquoise wait() end for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(0,1-(i/255),1) --turquoise to blue wait() end for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(i/255,0,1) --blue to purple wait() end for i=1, 255 do script.Parent.TextLabel.TextColor = Color3.new(1,0,1-(i/255)) --purple to red wait() end end ~~~~~~~~~~~~~~~~~

Maybe you can revise that to where it changes the color? Well, thanks!

-- Toby Scott aka ExplicitToby

0
Please Correctly format you code. Make sure the '~~~' are on a seperate line that any words. alphawolvess 1784 — 8y

Closed as Not Constructive by AmericanStripes

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by
Uroxus 350 Moderation Voter
8 years ago

Unless your decal is transparent you can't change the colour of it with Roblox unless you've pre-made them and then change the ID via a script.

Just to mention, this isn't a request site. You should go away and have a go yourself and come back when you've hit some problems. Also for future reference, the ~~~~~~~~~~ of the codeblock should be above and below your code and not on the same lines otherwise it won't work, as demonstrated by yourself.

Ad