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: BrickColor not changing

Previous Thread :: Next Thread 
Soupes is not online. Soupes
Joined: 30 Nov 2008
Total Posts: 68
15 Jun 2016 06:37 PM
I'm trying to get the color of a brick to change dynamically. So far it doesn't work and the brick just remains the same color. I tried using the script below but can't figure out why it will not work.

for x=0, 255 do
script.Parent.BrickColor = BrickColor.new(Color3.new(255,255,x));
wait(0.1);
end
Report Abuse
spartan6241 is not online. spartan6241
Joined: 15 Jun 2014
Total Posts: 793
15 Jun 2016 06:41 PM
Maybe check the output for any errors?
Report Abuse
Soupes is not online. Soupes
Joined: 30 Nov 2008
Total Posts: 68
15 Jun 2016 06:44 PM
It doesn't output anything.
Report Abuse
kevini44 is not online. kevini44
Joined: 14 Oct 2010
Total Posts: 129
16 Jun 2016 02:11 AM
for x=0, 255 do
script.Parent.Color = Color3.new(255,255,x);
wait(0.1);
end

--color
--i think that will work i dunno
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:15 AM
**
for x=0, 255 do
script.Parent.Color = Color3.new(255/255,255/255,x/255);
wait(0.1);
end
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