Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there anyway you can make a dance floor using SurfaceGUIs, if so, how?

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?

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.

2 comments

0

But how would I do that with a SurfaceGUI?

0

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?

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.