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

How do I execute a simple brick color change?

game.Workspace.Part.BrickColor = BrickColor.new("Really Blue") end

Like so?

2 comments

0

Just for future reference, "end" closes scopes that are created with functions, conditionals, loops, etc. If you have a line of code that has a black arrow next to it, you can click that arrow to "minimize" the scope, like minimizing your web browser.

0

Thanks!

1 answer

BrickColors are case sensitive! All capitolization must be exact.

Your problem was that you put "Really Blue" as the arguments for the BrickColor.new function - when you should be putting "Really blue".

Also, there's no need for that end.

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

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