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
 

Re: Changing the color of a gui

Previous Thread :: Next Thread 
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
06 Jul 2016 08:36 PM
So I've had some issues with getting the color of a gui to change properly

I thought I've gotten this to work but I guess not:

I'm trying to change a gui to a darker shade of green than it was previously
shading.BackgroundColor = BrickColor.new(0/255, 230/255, 0/255)

The code throws up no errors, but when I go into test mode it appears bright green (0, 255/255, 0)

I understand that gui's colors are in color3 values so I tried:
shading.BackgroundColor = Color3.new(0/255, 230/255, 0/255)

but that threw up an error saying Color3 isn't a property of BackgroundColor

any ideas?
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
06 Jul 2016 08:45 PM
shading.BackgroundColor.Color = Color3.new(0/255, 230/255, 0/255)


Add 13,000 posts
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
06 Jul 2016 08:45 PM
^try color3 too

im gonna look into studio too


Add 13,000 posts
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
06 Jul 2016 08:46 PM
well damn

it SHOULD be neither of the 2 options

it's

gui.BackgroundColor3 = Color3.new()


Add 13,000 posts
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