|
| 23 Jun 2014 03:32 PM |
Inter = script.Parent.BackgroundColor3
while true do wait() Inter = Color3.new(255, 0, 0) wait(1) Inter = Color3.new(255, 85, 0) wait(1) Inter = Color3.new(255, 255, 255) wait(1) Inter = Color3.new(85, 170, 0) wait(30) end |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2014 03:34 PM |
| Not showing any error and won't change color. |
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 23 Jun 2014 03:35 PM |
Color3 values are between 0 and 1, not 0 and 255. Divide each value by 255.
|
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 23 Jun 2014 03:36 PM |
Color3.new is between 0 and 1
255 being 1 0 being 0
while true do wait() Inter = Color3.new(1, 0, 0) wait(1) Inter = Color3.new(1, 85/255, 0) wait(1) Inter = Color3.new(1, 1, 1) wait(1) Inter = Color3.new(85/255, 170/255, 0) wait(30) end
I would appreciate it if you came to my place and donate some robux! Thanks!
|
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 23 Jun 2014 03:36 PM |
| Oh, and do not set a variable to point directly to a property of an object. The variable will equal what the property is at the moment in time rather than pointing to it. |
|
|
| Report Abuse |
|
|
|
| 23 Jun 2014 03:40 PM |
Thanks to both of you.
I'm new to scripting so alot of this stuff is new to me. |
|
|
| Report Abuse |
|
|