How to Make a Dance Floor on ROBLOX
- 1). Open ROBLOX Studio and select a place to edit.
- 2
Click on the "Insert" button on the gray toolbar beneath the "Place1" tab. Select a brick of any color from the menu on the right. - 3). Click "Insert" in the file menu and select "Object." Select "Script" from the Object menu.
- 4
Double-click "Script" in the Explorer menu on the right to open your script editor. Paste in the following code.
while true do
script.Parent.Color = Color3.new(math.random(), math.random(), math.random())
wait(0.5)
end - 5). Click on the "Place" tab. Press CTRL+S to save your file. Click on the file menu and select "Publish" to upload your place. When you visit your place in the game, the brick that you added will now be a flashing, multicolored dance floor.
Source...