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: Color3

Previous Thread :: Next Thread 
ns001111 is not online. ns001111
Joined: 15 Jan 2011
Total Posts: 2849
11 Sep 2011 11:53 AM
Hardly used it, but Im using a GUI color now so I need a little help.

Heres the line:

f.BackgroundColor3 = Color3.new(255;255;255)

f is defined.

~ ns
Report Abuse
ns001111 is not online. ns001111
Joined: 15 Jan 2011
Total Posts: 2849
11 Sep 2011 12:00 PM
Bump.

~ ns
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
11 Sep 2011 12:03 PM
f.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)

First of all why do you have ; instead of ,?
Second, you use floats so therefore you divide the number you want by 255, in the example above I could just had put 1 instead of 255/255 but I didn't for example proposes.

[If I owned a school, it would be closed by now.]
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