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
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
Yeah. This will work if you defined everything properly :)
This discussion is preserved as it was. New answers, comments, and votes are closed.