Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37142 |
|
|
| 02 Nov 2012 11:00 PM |
while true do
Green = game.Workspace.TrafficLight.Green Yellow = game.Workspace.TrafficLight.Yellow Red = game.Workspace.TrafficLight.Red
Green.Reflectance = 0.5 Green.BrickColor = "Dark Green" wait(8)
for i = 1, 5 do
Green.Reflectance = 0 Green.BrickColor = "Bright Green" wait(0.5) Green.Reflectance = 0.5 Green.BrickColor = "Dark Green" end
Yellow.Reflectance = 0.5 wait(3) Yellow.Reflectance = 0 Red.Reflectance = 0.5 Red.BrickColor = "Really Red" wait(12) Red.Reflectance = 0 Red.BrickColor = "Bright Red"
Green.Reflectance = 0.5 Green.BrickColor = "Dark Green" end
I see no problem, but Output says another thing.
HELP D:! |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 02 Nov 2012 11:08 PM |
while true do
local Green = workspace.TrafficLight.Green local Yellow = workspace.TrafficLight.Yellow local Red = workspace.TrafficLight.Red
Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") wait(8)
for i = 1, 5 do
Green.Reflectance = 0 Green.BrickColor = BrickColor.new("Bright green") wait(0.5) Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") end
Yellow.Reflectance = 0.5 wait(3) Yellow.Reflectance = 0 Red.Reflectance = 0.5 Red.BrickColor = BrickColor.new("Really red") wait(12) Red.Reflectance = 0 Red.BrickColor = "Bright Red"
Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") end end
And post what the output says, not just that it says something. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 02 Nov 2012 11:09 PM |
while true do
local Green = workspace.TrafficLight.Green local Yellow = workspace.TrafficLight.Yellow local Red = workspace.TrafficLight.Red
Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") wait(8)
for i = 1, 5 do
Green.Reflectance = 0 Green.BrickColor = BrickColor.new("Bright green") wait(0.5) Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") end
Yellow.Reflectance = 0.5 wait(3) Yellow.Reflectance = 0 Red.Reflectance = 0.5 Red.BrickColor = BrickColor.new("Really red") wait(12) Red.Reflectance = 0 Red.BrickColor = BrickColor.new("Bright red") -- Missed this line.
Green.Reflectance = 0.5 Green.BrickColor = BrickColor.new("Dark green") end end
|
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37142 |
|
|
| 02 Nov 2012 11:11 PM |
| K sorry I'm new in this script thingy. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 02 Nov 2012 11:12 PM |
| Well the point of the output is to tell you what is wrong, it is assumed you know what is wrong when your script doesn't work, generally the output will pretty much tell you what you need to fix. |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37142 |
|
|
| 02 Nov 2012 11:14 PM |
Yeah about that...
Everytime I make a script (well most of the times) the Output says "Stack end"
WHAT DOES THAT MEANS?! |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 02 Nov 2012 11:16 PM |
| That I believe has nothing to do with the script errors(which appear in red) that particular message has to do with the Roblox program. |
|
|
| Report Abuse |
|
|