Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 07 Sep 2011 12:40 PM |
color = script.Parent.BrickColor
game.Workspace.TestBrick.BrickColor = BrickColor.new(color)
Why doesn't that work? |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Sep 2011 12:40 PM |
| You need BrickColor.Color for somthing like that, I THINK. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 12:40 PM |
Simple..
color = script.Parent.BrickColor
game.Workspace.TestBrick.BrickColor = BrickColor.new(color) --You need a number there end --you forgot an end --you also forgot how does it funciton? |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
|
| 07 Sep 2011 12:42 PM |
@ Tim
This is just a small section of the script.
I'm not an idiot, I know that I need ends and functions. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Sep 2011 12:42 PM |
| timdon, you DON'T need the end, and he dosent want a number there, he wants to set the TestBrick to the color of the scripts parent. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 07 Sep 2011 12:42 PM |
| O: i thaught it was just a simple script to do that, nothing fancy - lol. |
|
|
| Report Abuse |
|
|
Aurarus
|
  |
| Joined: 22 Dec 2008 |
| Total Posts: 4761 |
|
| |
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 07 Sep 2011 01:16 PM |
Is that BrickColor a BrickColor value, if yes i think this might work?
color = script.Parent.BrickColor
game.Workspace.TestBrick.BrickColor = color |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2011 01:23 PM |
game.Workspace.TestBrick.BrickColor = script.Parent.BrickColor
~Ratex http://www.roblox.com/My/Groups.aspx?gid=374259 |
|
|
| Report Abuse |
|
|