roblox lua brick color randomiser
- First, we declare a variable called "brick" and set it to the result of the workspace's "Part" property.
- Next, we declare a variable called "randomColor" and set it to a new Color3 value using the math.random function for each RGB component.
- Then, we set the "Color" property of the "brick" to the "randomColor" value, effectively changing the color of the brick to the randomly generated color.