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: Loop this one please.

Previous Thread :: Next Thread 
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
18 Apr 2014 09:05 PM
I don't know how do I loop this.

game.workspace.PART.BrickColor = BrickColor.new("Really red")
wait(0.2)
game.workspace.PART.BrickColor = BrickColor.new("New Yeller")



Report Abuse
McChicken72 is not online. McChicken72
Joined: 09 Feb 2013
Total Posts: 1115
18 Apr 2014 09:07 PM
while wait(0.2)do
game.Workspace.PART.BrickColor = BrickColor.new ("Really red")
wait(2)
game.Workspace.PART.BrickColor = BrickColor.new ("New Yeller")
end
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 09:08 PM
Loop for how long?
Forever?

while wait(0.2) do
workspace.PART.BrickColor = workspace.PART.BrickColor == BrickColor.new("Really red") and BrickColor.new("New Yeller") or BrickColor.new("Really red")
end
Report Abuse
TheProgrammingMaster is not online. TheProgrammingMaster
Joined: 20 Aug 2011
Total Posts: 7602
18 Apr 2014 09:08 PM
while game.workspace.PART do
game.Workspace.PART.BrickColor = BrickColor.new ("Really red")
wait(.2)
game.Workspace.PART.BrickColor = BrickColor.new ("New Yeller")
wait(.2)
end
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 09:10 PM
I made mine better



while wait(0.2) do
workspace.PART.BrickColor = BrickColor.new(workspace.PART.BrickColor.Name == "Really red" and "New Yeller" or "Really red")
end
Report Abuse
crazymuffin267 is not online. crazymuffin267
Joined: 01 Aug 2012
Total Posts: 253
18 Apr 2014 09:11 PM
Thanks.
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
18 Apr 2014 09:11 PM
@Script
yours shouldn't work
BrickColors don't have names
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 09:13 PM
"@Script
Yours doesn't work BrickColors don't have names"

ahahhaaahaha
ha
ha
no
http://wiki.roblox.com/index.php?title=BrickColor_(Property)
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
18 Apr 2014 09:14 PM
http://wiki.roblox.com/index.php?title=BrickColor#Comparing_BrickColors
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
18 Apr 2014 09:50 PM
#PointProved

sweg^
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