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: GUI Background Color3 help

Previous Thread :: Next Thread 
MrTucan1996 is not online. MrTucan1996
Joined: 19 Aug 2009
Total Posts: 5994
23 Jun 2014 03:32 PM
Inter = script.Parent.BackgroundColor3


while true do
wait()
Inter = Color3.new(255, 0, 0)
wait(1)
Inter = Color3.new(255, 85, 0)
wait(1)
Inter = Color3.new(255, 255, 255)
wait(1)
Inter = Color3.new(85, 170, 0)
wait(30)
end
Report Abuse
MrTucan1996 is not online. MrTucan1996
Joined: 19 Aug 2009
Total Posts: 5994
23 Jun 2014 03:34 PM
Not showing any error and won't change color.
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
23 Jun 2014 03:35 PM
Color3 values are between 0 and 1, not 0 and 255. Divide each value by 255.

Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
23 Jun 2014 03:36 PM
Color3.new is between 0 and 1

255 being 1
0 being 0

while true do
wait()
Inter = Color3.new(1, 0, 0)
wait(1)
Inter = Color3.new(1, 85/255, 0)
wait(1)
Inter = Color3.new(1, 1, 1)
wait(1)
Inter = Color3.new(85/255, 170/255, 0)
wait(30)
end


I would appreciate it if you came to my place and donate some robux! Thanks!
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
23 Jun 2014 03:36 PM
Oh, and do not set a variable to point directly to a property of an object. The variable will equal what the property is at the moment in time rather than pointing to it.
Report Abuse
MrTucan1996 is not online. MrTucan1996
Joined: 19 Aug 2009
Total Posts: 5994
23 Jun 2014 03:40 PM
Thanks to both of you.

I'm new to scripting so alot of this stuff is new to me.
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