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
 

Datastore tables

Previous Thread :: Next Thread 
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
17 Apr 2016 08:52 PM
how do i save color3 values in a table?

I want to save the table itself in a datastore.

Also bedies that just a number table, how?

Report Abuse
MarcusDomitiusScipio is not online. MarcusDomitiusScipio
Joined: 11 Aug 2009
Total Posts: 331
17 Apr 2016 08:53 PM
wiki.roblox.com

Start from the beginning.
Report Abuse
cntkillme1 is not online. cntkillme1
Joined: 16 Feb 2012
Total Posts: 592
17 Apr 2016 08:53 PM
Just store the R, G, and B values in the table?

local col = {color.R, color.G, color.B}
-- save col

And to 'load' it:
local col = --load color
local color = Color3.new(unpack(col))
Report Abuse
LucasLua is not online. LucasLua
Joined: 18 Jun 2008
Total Posts: 7386
17 Apr 2016 08:54 PM
I know that you can get the RGB values out of a Color3 value. They're accessed with the .r, .g, .b properties.
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