|
| 12 Jan 2013 09:35 PM |
Hey I got a fairly hard question :3. How do you get a Frame/Whatever in a GUI's background color and make it a brickcolor, to then transfer to another brick. Sort of like this :
game.Workspace.Part.BrickColor = BrickColor.new(game.Players.ToontownROXYA.PlayerGui.ScreenGui.Frame.BackgroundColor)
Anyone? I knew that would definitely not work, since B.C. in a Frame is a Color3 value. Thanks! |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 12 Jan 2013 09:38 PM |
Uh what i would do is put a string value called Color inside the frame and then write the color you want to when you want to call the color you could just do ...BrickColor = game.Players.Gui.Frame.Color |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2013 09:39 PM |
| there is not a definitive way to convert Color3 values into BrickColors, simply because not all Color3s are BrickColors. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 12 Jan 2013 09:53 PM |
| In my experience it generally snaps to the closest one. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2013 10:08 PM |
| Its a customization GUI... So, the string value is out, I, making a fool of myself, tried all the different methods, even tostring... |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 12 Jan 2013 10:12 PM |
Last time I went from Color3 to BrickColor I remember just going
Blah.BrickColor = BrickColor.new(Color3.new(WHATEVERVALUEHERE))
I assume you have already tried that with the BackgroundColor? |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 12 Jan 2013 10:13 PM |
| Woops, ignore that, In the top post you already said it xD, I am stupid late at night. |
|
|
| Report Abuse |
|
|
| |
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 12 Jan 2013 10:53 PM |
| Yea, I don't think when tired, although that method you posted has worked for me in the past so I don't know why it wouldn't for you. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2013 10:53 PM |
| Found a way, I just used a C3 Value, and then created like points, if c3.Value == afnaksdfnalk then etc here. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
| |
|