mike460
|
  |
| Joined: 14 Sep 2008 |
| Total Posts: 46 |
|
|
| 17 Jun 2013 01:11 PM |
I'm creating an obby course but i'm trying to add motion to it. So I tried doing this to create motion
while true do if i = -10, 10, 1 do game.Workspace.RainbowBrick.CFrame(-10, 1, -10) end end
That's what I tried for movement but I don't think it work's so here's the colors one.
Colors = game.Workspace.RainbowBrick while true do Colors.BrickColor = BrickColor.random wait(0.5) Colors.BrickColor = BrickColor.random wait(0.5) end
That didn't work also, please help me with this problem ( Don't give me script's teach me ) |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 17 Jun 2013 01:17 PM |
Your first script used "if" instead of "for" :p It also didn't have a wait()
while true do for i = -10, 10, 1 do game.Workspace.RainbowBrick.CFrame(-10, 1, -10) wait(0.05) end end
For your second script, you needed to add little parenthesis to the end of your "random" function:
Colors = game.Workspace.RainbowBrick while true do Colors.BrickColor = BrickColor.random() wait(0.5) Colors.BrickColor = BrickColor.random() wait(0.5) end
:D |
|
|
| Report Abuse |
|
|
mike460
|
  |
| Joined: 14 Sep 2008 |
| Total Posts: 46 |
|
|
| 17 Jun 2013 01:18 PM |
| Thank's alot lol I totally forgot about those, hey do you have skype? Maybe you could tutor me, ill pay ;) |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2013 01:18 PM |
| Whats motion? sorry if this is a stupid question I just dont know what it is, I might be able to help you if you tell me what 'Motion' is. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 17 Jun 2013 01:20 PM |
Sure!
My name is Aurarus on Skype as well. Go ahead and add me. :) |
|
|
| Report Abuse |
|
|