roblox lua brick color randomiser

  1. First, we declare a variable called "brick" and set it to the result of the workspace's "Part" property.
  2. Next, we declare a variable called "randomColor" and set it to a new Color3 value using the math.random function for each RGB component.
  3. 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.