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?
COMMUNITY QUESTION
Is there anyway you can make a dance floor using SurfaceGUIs, if so, how?
4 answers
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
1 comment
0
SurfaceGUIs color comes out better and blocks.
for i=1,10 do
wait(1) -- *Change the number to whatever you want*
game.Workspace.Part.BrickColor = BrickColor.Random()
end
1 comment
0
wow someone already posted :P
I think Diver wants to do it surface GUI because it shows up in the dark
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
But how would I do that with a SurfaceGUI?
You would have to make it an animated GUI, which starts going into much more complicated scripting and values and things that I would normally explain, but as I already said, I'm cramming like crazy and really wish I could help you more. Any particular reason why you want to do it with surface GUIs instead of a normal script?