|
| 09 Nov 2013 08:43 AM |
butt.BackgroundColor3 = Color3.new(0,128,10)
In the properties box, it turns out as a nice shade of green. When I put it in a script, it turns out to be cyan. What's going on? How do I fix this? Thanks in advance :) |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:45 AM |
| http://wiki.roblox.com/index.php/Color3 |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:47 AM |
| Doesn't help. I don't want a new function, I just want the line to work like it should. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:51 AM |
Did you even read it? "Color3 values only range from 0 to 1" "Color3.new(r/255, g/255, b/255)" |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:53 AM |
I did read it. And tried that earlier. I do go to the wiki before here, you know. But then it said something in the output, I'll get it up for you. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:55 AM |
| Players.Player1.PlayerGui.SGCGUI.DoorControls.OpenTrainee.S:23: attempt to perform arithmetic on global 'r' (a nil value) |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 08:56 AM |
r is obviously undefined. Post the relevant parts? If it`s local it`s probably not in the right scope. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:04 AM |
| You only gave me two lines, so I thought I didn't need it to be defined. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:05 AM |
| can you please just tell me what to do? I've been stumped on this all day. |
|
|
| Report Abuse |
|
|
bibo5o
|
  |
| Joined: 17 Jan 2009 |
| Total Posts: 414 |
|
|
| 09 Nov 2013 09:21 AM |
Color3.new(r/255, g/255, b/255)
You are meant to change r to 0, g to 128 and b to 10. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:22 AM |
? you mean:
r = 0 g = 128 b = 10
Color3.new(r/255,g/255,b/255)
?? |
|
|
| Report Abuse |
|
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 09 Nov 2013 09:23 AM |
are you like in elementary school or why are you too stupid to understand this?
Color3.new(0/255,128/255,10/255) |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:24 AM |
Guess you did, it worked. Thanks! :) |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:24 AM |
... That r... That`s Pseudocode
|
|
|
| Report Abuse |
|
|
|
| 09 Nov 2013 09:25 AM |
Wow, why are you so cruel? This is scripting helpers, not scripting be horrible to people who don't know what to do. Just because you know how to do it, doesn't mean others do.
|
|
|
| Report Abuse |
|
|