I forgot how to make the part changing color, if anyone know tell me.
✓ ANSWER ACCEPTED
How to make part keep repeat changing color?
1 answer
✓ Accepted answer
First of all, the guy who posted this question, megaSomething, posted an answer that contained this.
repeat
part.BrickColor=BrickColor.Random()
wait 1
No, that has some syntax errors.
for q=1,100 do
end
That's a loop setup right there, there are other loops but I'm going to be using the for loop.
So if you read up on for loops, you'll know that loop in the code block will run 100 times
for q=1,100 do
part.BrickColor = BrickColor.Random()
wait(1)
end
And that will make a parts BrickColor be random, and change every second, 100 times.
As for your syntax errors, here they are.
repeat
--the setup for a repeat loop
until true
wait(1)
--as opposed to
wait 1
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
part.BrickColor = BrickColor.Random() will change a parts color to a random BrickColor
Is that will keep repeat?
Do a loop if you want it to repeat