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: What is wrong with this script?

Previous Thread :: Next Thread 
mrgreco10 is not online. mrgreco10
Joined: 27 Jun 2010
Total Posts: 17588
12 Oct 2012 01:12 PM
while do true
script.Parent.Color = Bright Red
wait(0.2)
script.Parent.Color = Bright Green
wait(0.2)
script.Parent.Color = Bright Red
end


Ik it's simple, I just want the brick to keep changing colour. Help?

greco
Report Abuse
mrgreco10 is not online. mrgreco10
Joined: 27 Jun 2010
Total Posts: 17588
12 Oct 2012 01:12 PM
Ah, I see it's called "BrickColor". I'll try that.

greco
Report Abuse
human is not online. human
Joined: 06 May 2007
Total Posts: 2765
12 Oct 2012 01:23 PM
script.Parent.BrickColor = BrickColor.new("Bright green")
Report Abuse
orangegreenblue is not online. orangegreenblue
Joined: 04 Sep 2010
Total Posts: 10906
12 Oct 2012 01:24 PM
while do true
script.Parent.BrickColor = BrickColor.new("Bright red")
wait(0.2)
script.Parent.BrickColor = BrickColor.new("Bright green")
wait(0.2)
end

-orangegreenblue, the Lua Noob
Report Abuse
mrgreco10 is not online. mrgreco10
Joined: 27 Jun 2010
Total Posts: 17588
12 Oct 2012 01:26 PM
Thanks alot, guys.

greco
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