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: endless loop

Previous Thread :: Next Thread 
moronmoo is not online. moronmoo
Joined: 25 Nov 2011
Total Posts: 1677
21 Apr 2013 08:10 PM
This is the script I have thus far.



Part = script.Parent

Part.BrickColor = BrickColor.new("White")
Wait(3)
Part.BrickColor = BrickColor.new("Bright blue")



So I would like to make this color change run on an endless loop, any ideas?
Report Abuse
vampirexevipex is not online. vampirexevipex
Joined: 11 Apr 2009
Total Posts: 1598
21 Apr 2013 08:11 PM
Part = script.Parent
while true do
Part.BrickColor = BrickColor.new("White")
Wait(3)
Part.BrickColor = BrickColor.new("Bright blue")
wait(3)
end
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
21 Apr 2013 08:11 PM
Part = script.Parent
while true do --True is always true
Part.BrickColor = BrickColor.new("White")
wait(3)
Part.BrickColor = BrickColor.new("Bright blue")
wait(3)
end
Report Abuse
vampirexevipex is not online. vampirexevipex
Joined: 11 Apr 2009
Total Posts: 1598
21 Apr 2013 08:12 PM
Woops i made a mistake:

Part = script.Parent
while true do
Part.BrickColor = BrickColor.new("White")
wait(3)
Part.BrickColor = BrickColor.new("Bright blue")
wait(3)
end

Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
21 Apr 2013 08:12 PM
Wow, got ninja'd there, should have taken the time to write the comment.
Report Abuse
moronmoo is not online. moronmoo
Joined: 25 Nov 2011
Total Posts: 1677
21 Apr 2013 08:12 PM
Thanks guys.

~Eating babies since 1773
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
21 Apr 2013 08:12 PM
Shouldn't*
Report Abuse
vampirexevipex is not online. vampirexevipex
Joined: 11 Apr 2009
Total Posts: 1598
21 Apr 2013 08:14 PM
@Chubb

Where the ninja? O__o
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
21 Apr 2013 08:18 PM
Everywhere @-@
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
21 Apr 2013 08:20 PM
omg
I'm making that same script but having some problems
Here's the script:

while true do
game.Workspace.Shock.BrickColor = BrickColor.new("White")
wait(3)
game.Workspace.Shock.BrickColor = BrickColor.new("Blue")

wait(1.5)
end

When ever i run it the part turns white then gray for some reason whenever i put in Blue not gray. Help please.
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
21 Apr 2013 08:20 PM
while true do
game.Workspace.Shock.BrickColor = BrickColor.new("White")
wait(3)
game.Workspace.Shock.BrickColor = BrickColor.new("Bright blue") -- Specific name
wait(1.5)
end
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
21 Apr 2013 08:21 PM
O
At first i put Bright Blue
I thought you had to capitalize both letters
Thanks
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
21 Apr 2013 09:11 PM
I like doing the math.random to make the brick look like a disco brick :3 But its what ^ said like about a few posts
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