I need to negate two parts to change their color, is this possible with code? If it is not, can you give me recommendations on what to do with an accessory to change its color.
COMMUNITY QUESTION
is there a way to negate parts with code?
1 answer
Negation of parts doesn't do anything for the color. But, here is something you could do:
script.Parent.BrickColor = BrickColor.ColorYouWant()
Or you could do:
script.Parent.Color3 = Color3.new(numbers)
BrickColor and Color3 are confusing, so here are some sources to help you understand: https://developer.roblox.com/en-us/api-reference/datatype/Color3 https://developer.roblox.com/en-us/api-reference/datatype/BrickColor
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Why the hell would you use negation for color-changing? If you wish to change an accessory's color, you must reference it's VertexColor property via it's Mesh, and supply a Vector3 with the identical numbers of a Color3 datatype.