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 » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Lowcart is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Oct 2011 05:03 PM
[ Content Deleted ]
Report Abuse
Zikefire is not online. Zikefire
Joined: 21 Mar 2009
Total Posts: 328
29 Oct 2011 05:05 PM
Your to smart for me.
Report Abuse
Lowcart is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Oct 2011 05:10 PM
[ Content Deleted ]
Report Abuse
SDuke524 is not online. 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
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
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 is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Oct 2011 05:28 PM
[ Content Deleted ]
Report Abuse
pwnedu46 is not online. 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 is not online. Lowcart
Joined: 12 Sep 2011
Total Posts: 1323
29 Oct 2011 09:37 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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