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

Setting a Color3 value from a BrickColor value not working. Can someone help me plz?

In my game, I have a colorizer with a ton of colors that set everything in your "Base" to that color. I want to use it on some things that require Color3. After some research, I came up with this:

game.Workspace.NeonColor3.Value = BrickColor.new(game.Workspace.NeonColor.Value).Color 

Obviously, it didn't work. I need help!

BTW NeonColor is a BrickColor value in the workspace and NeonColor3 is a Color3 value, also in the workspace

1 answer

As far as I can tell, you're setting the value wrong. This should be the proper format:

game.Workspace.NeonColor3.Value = BrickColor.new(game.Workspace.NeonColor.Value).Color

If this is not correct, then my apologies; but it should be accurate.

2 comments

0

Thanks. That fixed one of the problems. But it still isn't working. The Output is bad argument #1 to 'new' (Color3 expected, got BrickColor)

0

Oh, hmm, maybe (game.Workspace.NeonColor.Value) should be changed back? Idk.

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