|
| 11 May 2013 03:15 PM |
I'm a bit new to scripting, and studio kept underlining this section of the code marked by the <<<<<<<'s pointing at it.
while true do script.Parent.Color = Really Red wait(0.2)<<<<<<<< script.Parent.Color = Really Blue wait(0.2) script.Parent.Color = Deep Orange wait(0.2) script.Parent.Color = New Yeller wait(0.2) script.Parent.Color = Magenta wait(0.2) script.Parent.Color = Bright Green wait(0.2) end
Could it be the color names or something? Idk.
-kevinpregan2
|
|
|
| Report Abuse |
|
|
|
| 11 May 2013 03:17 PM |
while true do script.Parent.Color = BrickColor.new("Really red").Color wait(0.2)<<<<<<<< script.Parent.Color = BrickColor.new("Really blue").Color wait(0.2) script.Parent.Color = BrickColor.new("Deep orange").Color wait(0.2) script.Parent.Color = BrickColor.new("New yeller").Color wait(0.2) script.Parent.Color = BrickColor.new("Magenta").Color wait(0.2) script.Parent.Color = BrickColor.new("Bright green").Color wait(0.2) end |
|
|
| Report Abuse |
|
|
|
| 11 May 2013 03:19 PM |
| Thanks, but will that work for the SpotLight section if I changed the BrickColor to another name? |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 May 2013 03:23 PM |
Ok so what you will have to do is pick out the color and get the numbers. Here is what part script will look like: --your stuff script.Parent.Color = Color3.new(10/255, 50/255, 77/255); --your stuff
So what do you will have to do is go into the property of the light and change the color to what you want then get the 3 numbers that it has on color. take those 3 numbers and put it in what I wrote above. So if the first number was 6 you would put 6/255 in the first place on the Color3 above. Hopefuly this makes sence. |
|
|
| Report Abuse |
|
|
|
| 11 May 2013 03:26 PM |
| Thanks for helping, but can you get the numbers from an already existing color? such as really red? |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 May 2013 03:39 PM |
As far as I know no. But what you can do is get the color as close as you can to really red and then get the numbers. |
|
|
| Report Abuse |
|
|
|
| 11 May 2013 04:31 PM |
| Yay it worked! Thanks shot :) |
|
|
| Report Abuse |
|
|
|
| 11 May 2013 08:34 PM |
Yes you can... Like I already did...
BrickColor.new("Deep orange").Color |
|
|
| Report Abuse |
|
|
| |
|
RoboX790
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 285 |
|
|
| 12 May 2013 08:03 AM |
| use Color3 Property, Find The HEX codes from the internet... |
|
|
| Report Abuse |
|
|