|
| 07 Feb 2014 08:24 PM |
| How do you change the color of one? I'm not sure how, and I'm 99% sure BrickColor.new does not work on GUI's. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Feb 2014 08:25 PM |
You mean a GUI object? Frame, TextButton, etc.?
Blah.BackgroundColor3 = Color3.new(r, g, b) r, g, b take values from 0-1, "percent of red, green, and blue" basically |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2014 08:25 PM |
| *how to change it via script? |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2014 08:28 PM |
Blah.BackgroundColor3 = Color3.new(200, 200, 200)
So this is how you would change it to grey? |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2014 08:31 PM |
| 192,192,192 is rgb value for gray |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Feb 2014 08:56 PM |
No, both of you are wrong.
'r, g, b take values from 0-1, "percent of red, green, and blue" basically' Gray would be 0.19->0.90 (or, in your case, 192/255, 195/255, 195/255) |
|
|
| Report Abuse |
|
|
jjj344
|
  |
| Joined: 19 Dec 2010 |
| Total Posts: 12709 |
|
|
| 07 Feb 2014 08:58 PM |
Script seems correct.
My ma always said.. life is like a box of chocolates.. *nom nom* never know what you gonna get. |
|
|
| Report Abuse |
|
|