doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 13 Feb 2015 07:15 PM |
whats wrong with this? It doesn't chi[i].TextColor3 does = the value its supposed to but its not registering. Whats wrong with this?
if chi[i].TextColor3 == Color3.new(206, 206, 206) then |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 13 Feb 2015 07:17 PM |
| if I print the textcolor3 it returns as (0.490196, 0.027451, 0.027451) even though it is (206, 206, 206). What is going on? |
|
|
| Report Abuse |
|
|
|
| 13 Feb 2015 07:19 PM |
| you need to devide it by 255 because the most you can have is 1 so either do 0.5 or 125/250 doesn't matter |
|
|
| Report Abuse |
|
|
Skyman772
|
  |
| Joined: 20 Mar 2012 |
| Total Posts: 9305 |
|
|
| 13 Feb 2015 07:20 PM |
Color3 is scale from 0 - 1
0 is black, 1 is white
So if you want 206,206,206 you do 206/255,206/255,206/255
I hope this helps. |
|
|
| Report Abuse |
|
|