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 |
|
|
|
| 17 Apr 2016 08:53 PM |
wiki.roblox.com
Start from the beginning.
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|