Brick Color. Changing the color of parts in ROBLOX Studio with Lua is a bit different than other properties. In this tutorial we will cover the various different ways you can set the color of a part with code.
Code used in this tutorial:
game.Workspace.ColorPart.BrickColor = BrickColor.Red()
game.Workspace.ColorPart.BrickColor = BrickColor.new("Bright blue")
game.Workspace.ColorPart.BrickColor = BrickColor.Random()
Tags: Brick Color, ROBLOX, ROBLOX Studio, Studio, scripting, Lua, minecraft, games, videogame, video game, free game, online game, family game, MMO, game design