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
wait(2) game.Workspace.Part.BrickColor = BrickColor.Random()
end
for i=1,10 do wait(1) -- *Change the number to whatever you want* game.Workspace.Part.BrickColor = BrickColor.Random() end
I think Diver wants to do it surface GUI because it shows up in the dark