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

Random color changing brick??

Hi guys, I'm trying to make a Brick that randomly changes color once regenerated... Will this work??

brick = game.Lighting.Tycoon1.Brick1

brick:Clone()
brick.BrickColor  = BrickColor.new(math.random())
brick.Parent = game.Workspace

1 answer

Yeah. This will work if you defined everything properly :)

This discussion is preserved as it was. New answers, comments, and votes are closed.