while true do
game.Workspace.BigFloor.Floor.Light.BrickColor = BrickColor.Random()
wait(1.0)
end
I'm trying to make a floor that will change colors every second, with the script above. However, this only changes one of the brick's color, even though all of them fall under the directory. I'm a beginning (Maybe beginning beginner? I don't know) scripter, so help is greatly appreciated.
EDIT: Sorry, I caused some confusion, I guess. I meant that one out of many parts was turning colors, and there are multiple parts surrounding the lights.

3 comments
What? What are you trying to do?
I'm trying to make a dance floor where the lights change coors
Then my answer should work, just put all the floor parts in a model