I am making a Club, downstairs is the dance floor. The dance floor goes to random colors every 1.1 second. Is this the right script?
while true do game.Workspace.DanceFloorBrick.BrickColor:Random() wait(1.1) game.Workspace.DanceFloorBrick.BrickColor:Random() wait(1.1) end
Hi. I'm TheEliteDonphan and I will answer your question.
You almost got it, but you made one little error. BrickColor:Random()
isn't a function! It's Brickcolor.Random()
. You also have to create an equals sign since it is a function.
while true do game.Workspace.DanceFloorBrick.BrickColor = BrickColor.Random() wait() game.Workspace.DanceFloorBrick.BrickColor = BrickColor.Random() wait() end
Source: myself
Its close. It should be
while true do game.Workspace.DanceFloorBrick.BrickColor.Random() wait(1.1) game.Workspace.DanceFloorBrick.BrickColor.Random() wait(1.1) end