Could this possible because of this line right here: local Color = nation:WaitForChild("Color")
what is that “Color” value?
Ok, is the RGB the wrong color code?
Also you don’t have to take screenshots of your code all the time, just click the </> button on the top
UnionOperation.UsePartColor
It isn’t a part though, it looks like it is a string value inside a folder
UsePartColor
is the UnionOperation
property that allows for you to Apply a Color to a UnionOperation
rather than it being a Set Color.
its province.UsePartColor = true province.Color = Color3.new(Color.Value)
now, still is all black
both parts and Unions go all black when i use .Color
, but not when BrickColor.new(Color.Value)
Also, just to let you know, BrickColor
and Color3.new()
uses numbers from 0 - 1
, and not
0 - 255
as they use Decimals as their format / code, BrickColor
has a Built-In Library of Colors you can Choose from instead of inserting numbers, they also give you the RGB format that makes the color, so if you are using numbers between 0 - 255
, you would need to divide by 255
to get the expected Color. plus, you would need to round that number (either down or up).
Plus, you should be using Color3.fromRGB
, Color3.fromHSV
, or Color3.fromHex
for specific functionality of specific Color formats.
province.Color = Color3.fromRGB(Color.Value)
Try using this
Tried FromHSV
and I found out it is only passing one argument from the Color3 Value, what do I do, how do I get the whole Value?
HSV has 3 Values, Hue
, Saturation
, and value
, I would Recommend looking into this:
Try using my suggestion
Summary
This text will be hidden
Yeah, I already said what That would do to your code:
it’s just grabbing the first value, though I have printed it out before and it printed the entire thing???
yeah but its only taking the 0 apparently?
I said .fromRGB
Summary
This text will be hidden
you can try getting the components that make up the Color:
local Colors = Color3Value.Value
print(Colors.R, Color.G, Colors.B)