UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 05 May 2016 07:19 PM |
| Is there a quick way of doing this? I would like for the key to be the Name, and the value to be the Color3. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
| |
|
Plutonem
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 1106 |
|
|
| 05 May 2016 07:34 PM |
http://wiki.roblox.com/index.php?title=BrickColor_codes
local bcs = {} for i=0, 1050 do local b = BrickColor.new(i) if b.Name ~= nil then bcs[b.Name] = b.Color end end
try that and tell me about it might not work at all lol
|
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 05 May 2016 07:38 PM |
| I was doing that already I was just hoping for a better method. |
|
|
| Report Abuse |
|
|
Plutonem
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 1106 |
|
|
| 05 May 2016 07:42 PM |
you could load the table in a module
just for fun
|
|
|
| Report Abuse |
|
|
|
| 05 May 2016 07:59 PM |
or just simply... BrickColor.palette()
#code R+ | local RAP = "R$483,511"; local robux = "R$13,696" |
|
|
| Report Abuse |
|
|