|
| 03 Mar 2012 02:18 PM |
Well you can obviously guess that I am new to scripting because I can't figure this out. I am trying to make a brick change colors continuously and this error keeps pooping up in my output.
15:13:59 - Workspace.Script:4: '=' expected near 'then'
Here is my script.
while true do wait(0.1) game.Workspace.Red1.BrickColor=Bright red then do game.Workspace.Red1.BrickColor=Dark stone grey end
I am not sure how to fix it so can someone please help me. |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 02:58 PM |
| You forgot to delete system32. It's a common mistake. |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:06 PM |
| You forget to leave the forum MeBilly as well, It's a common mistake like you mentioned. |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:13 PM |
| You forgot that I don't care what you say. That's also a common mistake. |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:22 PM |
Anyways, next time theres a forum called Scripting Helpers. Scripters for advanced users only, but heres the fixed script.
Script ---
Red = Workspace.Red1 -- Instead of constantly repeating game.Workspace I set it to a variable
while true do Red.BrickColor = BrickColor.new(21) -- In order to use brickcolors, there are color codes you can't just name a color wait(0.1) Red.BrickColor = BrickColor.new(199) wait(0.1) end
|
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:24 PM |
@MeBilly
You dont care what I say, but you happen to reply. Oh well, no one cares about what you say anymore. No one is wanting you to stay here anymore, after all you sit at home looking at threads then you post replies to those who makes mistakes. Just Get Out bro, the thought of you contiune to waste your life, to make others lifes harder is plain pathetic. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
|
| 03 Mar 2012 03:25 PM |
| Lol your just jelly that I eat more noobs than you. |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:28 PM |
D:
I never said you couldn't, lawlz. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
|
| 03 Mar 2012 03:29 PM |
Anyways my last post was to @Oysi
"Lol your just jelly that I eat more noobs than you."
Eat more noobs? Is that your childish game? |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 03:29 PM |
@Oysi
I knew that was why I was failing math! |
|
|
| Report Abuse |
|
|
|
| 03 Mar 2012 07:04 PM |
| Thanks for the help. I suck at scripting >.> |
|
|
| Report Abuse |
|
|