|
| 03 Jul 2015 04:58 AM |
for step = 0, 155, 5 do tint = BrickColor.new(255 - step, 0, 0) A.BrickColor = tint Want to make it so that each time the loop plays through the red value decreases, what's wrong with the current statement? I know it's missing an ending and all that it's just the beginning that needs work.
SATURDAY NIGHTS ALRIGHT FOR FIGHTING |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2015 05:01 AM |
I dont think BrickColors work like that...
I could be wrong. |
|
|
| Report Abuse |
|
|
SupahLuke
|
  |
| Joined: 17 May 2012 |
| Total Posts: 190 |
|
|
| 03 Jul 2015 05:01 AM |
BrickColor's don't support Color3 but you can do something like:
BrickColor.new(Color3.new((255 - step)/255, 0, 0)) |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2015 05:04 AM |
Okay, thanks. I've done basic scripting with things asides from ROBLOX so all the rules and restrictions of ROBLOX are new to me.
I'll fiddle around with that code Supah, thank you.
SATURDAY NIGHTS ALRIGHT FOR FIGHTING |
|
|
| Report Abuse |
|
|