Jimblack
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 1179 |
|
|
| 27 Jul 2011 07:24 PM |
Im trying to figure out how to make a traffic light. I think I got some down but is there a way to continue on to make is synced? It would be to hard to sync it manually...
Green light: while true do -- create a loop script.Parent.BrickColor = BrickColor.Bright Green()-- make the brick a random color wait(10) -- change the number to the amount of seconds you want it to stay each color end -- end the loop
Yellow Light: while true do -- create a loop script.Parent.BrickColor = BrickColor.Bright Yellow()-- make the brick a random color wait(4) -- change the number to the amount of seconds you want it to stay each color end -- end the loop
Red Light: while true do -- create a loop script.Parent.BrickColor = BrickColor.random()-- make the brick a random color wait(14) -- change the number to the amount of seconds you want it to stay each color end -- end the loop
So help me if you can. |
|
|
| Report Abuse |
|