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
 

Re: Coloring GUI's

Previous Thread :: Next Thread 
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Feb 2014 08:24 PM
How do you change the color of one? I'm not sure how, and I'm 99% sure BrickColor.new does not work on GUI's.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Feb 2014 08:25 PM


macho nachos
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
07 Feb 2014 08:25 PM
You mean a GUI object? Frame, TextButton, etc.?

Blah.BackgroundColor3 = Color3.new(r, g, b)
r, g, b take values from 0-1, "percent of red, green, and blue" basically
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Feb 2014 08:25 PM
*how to change it via script?
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Feb 2014 08:28 PM
Blah.BackgroundColor3 = Color3.new(200, 200, 200)

So this is how you would change it to grey?
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
07 Feb 2014 08:31 PM
192,192,192 is rgb value for gray
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
07 Feb 2014 08:56 PM
No, both of you are wrong.

'r, g, b take values from 0-1, "percent of red, green, and blue" basically'
Gray would be 0.19->0.90 (or, in your case, 192/255, 195/255, 195/255)
Report Abuse
jjj344 is not online. jjj344
Joined: 19 Dec 2010
Total Posts: 12709
07 Feb 2014 08:58 PM
Script seems correct.

My ma always said.. life is like a box of chocolates.. *nom nom* never know what you gonna get.
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