Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

why is game.Workspace.part.BrickColor = Really Red not working?

why is game.Workspace.part.BrickColor = Really Red not working

idk about scripting

1 comment

0

thanks!!!!!

2 answers

✓ Accepted answer

Hello, tttvbb!

The reason why it didn't work was because you didn't assign brickcolor to the colour your trying to perceive. Make sure you use BrickColor.new()

BrickColor takes an argument, which is the colour.

Here's the code you were trying to perform

game.Workspace.Part.BrickColor = BrickColor.new("Really red")

if you want to get the rgb (red,green,blue) values use this

game.Workspace.Baseplate.Color = Color3.fromRGB(255, 0, 0)

##References:

BrickColor document

use

 game.Workspace.Baseplate.BrickColor = Color3.fromRGB(255, 0, 0)

instead

2 comments

0

no, game.Workspace.Baseplate.Color = Color3.fromRGB(255, 0, 0)

0

or game.Workspace.Baseplate.BrickColor = BrickColor.new("Really Red")

This discussion is preserved as it was. New answers, comments, and votes are closed.