|
| 13 Feb 2012 09:48 AM |
| Is there a way to make a part switch from camo to lime green every half a second? If so plz post how or post the script. |
|
|
| Report Abuse |
|
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 13 Feb 2012 09:53 AM |
Yes, yes there is. This script is SO simple that I'll give it to you:
while true do --- Pretty much makes it go in an endless loop.
script.Parent.BrickColor = BrickColor.new("Camo") --- Defines the new color wait(.30) --- Time in between the colour changes. script.Parent.BrickColor = BrickColor.new("Lime green") end --- You guessed it, it ends the function.
If you have any further questions, don't be afraid to ask. :)
~TheWisest~ |
|
|
| Report Abuse |
|
|
|
| 13 Feb 2012 10:09 AM |
| Thanks, and yes i know its a simple script but im no good at scripting. |
|
|
| Report Abuse |
|
|
| |
|
TheWisest
|
  |
| Joined: 11 Nov 2010 |
| Total Posts: 7345 |
|
|
| 13 Feb 2012 12:06 PM |
Sorry, here:
while true do --- Pretty much makes it go in an endless loop. wait(1) script.Parent.BrickColor = BrickColor.new("Camo") --- Defines the new color wait(.30) --- Time in between the colour changes. script.Parent.BrickColor = BrickColor.new("Lime green") end --- You guessed it, it ends the function.
Tested & works.
I forgot to add another 'wait'.
~TheWisest~ |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 13 Feb 2012 01:57 PM |
| TheWisest, he wanted it to change every 0.5 secs. |
|
|
| Report Abuse |
|
|