generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: BrickColors into a table

Previous Thread :: Next Thread 
UFAIL2 is online. 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 is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
05 May 2016 07:21 PM
Why


Report Abuse
Plutonem is not online. 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 is online. 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 is not online. 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
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image