Making a game that needs a dance floor. I have no clue how to script that using SurfaceGUIs. The base block color is black, but I don't know how to make it random colors. Any tips/help?
Yes, there are also much simpler ways to do it. If you do something to the effect of wait(time)
and then a line that changes the color property of the brick and repeat it until you feel satisfied with how many times it changes colors.
Just put it in a basic script, why use a surfacegui?
for i=1,10 do
1 | wait( 2 ) |
2 |
3 | game.Workspace.Part.BrickColor = BrickColor.Random() |
end
1 | for i = 1 , 10 do |
2 | wait( 1 ) -- *Change the number to whatever you want* |
3 | game.Workspace.Part.BrickColor = BrickColor.Random() |
4 | end |
I think Diver wants to do it surface GUI because it shows up in the dark