|
| 06 Sep 2014 01:56 PM |
I don't know why, but this script is messed up somehow. s = script.Parent s.BrickColor.new(Dark stone grey) wait(3) s.BrickColor = Brickcolor.new(Really blue) wait(3) s.BrickColor = Brickcolor.new(Bright blue) wait(3) end |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 01:58 PM |
s = script.Parent s.BrickColor.new("Dark stone grey") wait(3) s.BrickColor = Brickcolor.new("Really blue") wait(3) s.BrickColor = Brickcolor.new("Bright blue") wait(3) end
colors must be in quotations. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 06 Sep 2014 02:05 PM |
oh wait im sorry i wasnt really paying attention
s = script.Parent s.BrickColor = BrickColor.new.new("Dark stone grey") wait(3) s.BrickColor = BrickColor.new("Really blue") wait(3) s.BrickColor = BrickColor.new("Bright blue") wait(3) end |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Sep 2014 02:10 PM |
| It shouldn't be. Post the whole script for me. and the error. |
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 06 Sep 2014 02:11 PM |
s = script.Parent s.BrickColor = BrickColor.new("Dark stone grey") wait(3) s.BrickColor = BrickColor.new("Really blue") wait(3) s.BrickColor = BrickColor.new("Bright blue") wait(3) end
Tell me if this fixes it. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:14 PM |
Yeah his should work. I had to stop and look at what I did. I accidentally placed BrickColor.new.new
I'm very sorry. I'm trying to help so many people all at once. |
|
|
| Report Abuse |
|
|
| |
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 06 Sep 2014 02:17 PM |
| Post the whole script, and if the error changed. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:19 PM |
Here, this DOES work
s = script.Parent s.BrickColor = BrickColor.new("Dark stone grey") wait(3) s.BrickColor = BrickColor.new("Really blue") wait(3) s.BrickColor = BrickColor.new("Bright blue") wait(3)
You did not need the "end" on the end (lol) since there was no function to begin with. |
|
|
| Report Abuse |
|
|
truman89
|
  |
| Joined: 18 May 2008 |
| Total Posts: 531 |
|
|
| 06 Sep 2014 02:21 PM |
Hold on, I think I know.
function whatever() s = script.Parent s.BrickColor = BrickColor.new("Dark stone grey") wait(3) s.BrickColor = BrickColor.new("Really blue") wait(3) s.BrickColor = BrickColor.new("Bright blue") wait(3) end)
It was probably nested in a function. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:21 PM |
Thanks guys! Here you go: function onClicked() s = script.Parent s.BrickColor = BrickColor.new("Dark stone grey") wait(3) s.BrickColor = BrickColor.new("Really blue") wait(3) s.BrickColor = BrickColor.new("Bright blue") wait(3) end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:22 PM |
| Now that we've identified the source of the problem, allow me to make up for my mistakes by making it more efficient. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:26 PM |
Part = script.Parent; DB = false Part.ClickDetector.MouseClick:connect(function() if DB == false then DB = true local Colors = {"Dark stone grey", "Really blue", "Bright blue"} for i = 1, 3, 1 do Part.BrickColor = BrickColor.new(Colors[i]) wait(3) end DB = false end end)
:D |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2014 02:39 PM |
| http://www.roblox.com/my/Item.aspx?id=176585198 |
|
|
| Report Abuse |
|
|