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

new is not a valid member of BrickColor. The hell?

Asked by 4 years ago

So I'm following a Roblox tutorial and it tells me to put in

game.Workspace.PracticePart.BrickColor.new(0.8,0.9,0.1)

(yes I'm following the first tutorial ._.) but then an error comes up and says "nO yOu cANt dO thAt - nEw iS nOt a ValID mEmBer oF BrIcKCoLOr". Is this common or am I dumb?

0
"The hell?", "nO yOu cANt dO thAt - nEw iS nOt a ValID mEmBer oF BrIcKCoLOr"." LMAOOOOOOOO, ima upvote this cause it was funny as heck greatneil80 2647 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.
game.Workspace.PracticePart.BrickColor = BrickColor.new(0.8,0.9,0.1)

Make sure you're actually setting a value to something, is how I guess I'd explain it.

0
Thank you! CreatorOfStuff2001 25 — 4y
Ad

Answer this question