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: Changing BrickColor Script

Previous Thread :: Next Thread 
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
19 Aug 2013 01:47 PM
How would I make a if the Brick Color = Black then make it Cyan
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
19 Aug 2013 01:49 PM
Put that in a script inside of the part

if script.Parent.BrickColor == "black" then
script.Parent.BrickColor = "cyan"
Report Abuse
thekevonster is not online. thekevonster
Joined: 08 Jul 2010
Total Posts: 11002
19 Aug 2013 01:49 PM
^
Report Abuse
Lonely345543 is not online. Lonely345543
Joined: 07 Jul 2009
Total Posts: 4208
19 Aug 2013 01:50 PM
Or, you know, just change it using a blink.object script.
Report Abuse
Landish is not online. Landish
Joined: 24 Sep 2011
Total Posts: 8152
19 Aug 2013 01:50 PM
or #Learn2Script

~ Do the Siggy Siggy.
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
19 Aug 2013 01:53 PM
Actually I don't think my script would work, but still try it. If it doesn't work try this one.



while true do
if script.Parent.BrickColor == "Black" then
script.Parent.BrickColor = "Cyan"
end
end
Report Abuse
Landish is not online. Landish
Joined: 24 Sep 2011
Total Posts: 8152
19 Aug 2013 01:55 PM
@the, that script would crash studio.
You don't have a wait function.
>_>
while true do
if script.Parent.BrickColor == "Black" wait(1)

script.Parent.BrickColor = "Cyan"
end
end


~ Do the Siggy Siggy.
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