Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|
Zikefire
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 328 |
|
| |
|
Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Oct 2011 05:19 PM |
Why are you saving the color as a table? Save it as a color3 then just do
script.Parent.Parent.TextHolder[stat].BackgroundColor3 = stat["Power"]["Color"] |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2011 05:21 PM |
Color3.new(lol.Color[1], lol.Color[2], lol.Color[3])
not stat
stat = 'Power' or whatever lol = the table with the color thingeh in it |
|
|
| Report Abuse |
|
|
Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 29 Oct 2011 05:36 PM |
AK47 = { 100, ["stats"] = { ["Power"] = { ["Size"] = 210,["Color"] = Color3.new(204, 255, 51) }, ["ClipSize"] = { ["Size"] = 150, ["Color"] = Color3.new(255, 204, 0) }, ["Recoil"] = { ["Size"] = 210,["Color"] = Color3.new(255, 102, 0) }, ["Range"] = { ["Size"] = 180, ["Color"] = Color3.new(255, 255, 102) }, ["Difficult"] = { ["Size"] = 240, ["Color"] = Color3.new(255,51, 0) } } } print(AK47.stats.Power.Size)
|
|
|
| Report Abuse |
|
|
Lowcart
|
  |
| Joined: 12 Sep 2011 |
| Total Posts: 1323 |
|
| |
|