|
| 15 Jan 2014 03:27 PM |
while true do if (Script.Parent.Parent.part2.BrickColor == Green) then Script.Parent.BrickColor = BrickColor.Red() end if (Script.Parent.Parent.part1.BrickColor == Red) then Script.Parent.BrickColor = BrickColor.Green() end end
It isnt working. I checked if it was right too....
|
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 15 Jan 2014 03:33 PM |
Obviously didn't check if it was right, because it's not.
if (Script.Parent.Parent.part2.BrickColor == Green) then should be
if (Script.Parent.Parent.part2.BrickColor == BrickColor.new("Green"))then And I don't even think green is a ROBLOX colour. |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2014 03:39 PM |
thank you Green is a roblox color |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2014 03:53 PM |
while true do without a wait()? gg.
#nerdsunited |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 15 Jan 2014 04:03 PM |
| Put some waits on there or it will crash. |
|
|
| Report Abuse |
|
|