Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

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

Asked by
tttvbb 2
1 month ago
Edited 24 days ago

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

idk about scripting

0
thanks!!!!! tttvbb 2 — 24d

2 answers

Log in to vote
1
Answered by
JesseSong 3372 Moderation Voter Community Moderator
1 month ago
Edited 1 month ago

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 thergb (red,green,blue) values use this

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

References:

BrickColor document

Ad
Log in to vote
0
Answered by 1 month ago
Edited 1 month ago

use

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

instead

0
no, game.Workspace.Baseplate.Color = Color3.fromRGB(255, 0, 0) n7e 5118 — 1mo
0
or game.Workspace.Baseplate.BrickColor = BrickColor.new("Really Red") n7e 5118 — 1mo

Answer this question