Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
4

BrickColor.new() to BrickColor3.new() ? [closed]

Asked by
Aethex 256 Moderation Voter
10 years ago

I am trying to make a chat and have the player's team color as their chat color. I am trying to figure out how to get the BrickColor3 value of the text BrickColor value. i.e. BrickColor.new("Really black") is the same as BrickColor3(0, 0, 0).

Locked by BlueTaslem

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

2 answers

Log in to vote
10
Answered by
ImageLabel 1541 Moderation Voter
10 years ago

You mean Color3.new?

local brickcolor = BrickColor.new("Really red") --Create our new BrickColor
----------------------------
local color = brickcolor.Color 

http://wiki.roblox.com/index.php/Color3

Ad
Log in to vote
-1
Answered by 10 years ago

You could also do something like this:

game.Workspace.BRICKNAMEHERE.BrickColor=BrickColor.new(Color3.new(255,0,0))