How come there is a “.5” added along side the 255, I though the colours only reach up to 255 in the default colour depth
I am not too sure about Color3, but for “BrickColor” colours, I found that saving it on a variable of string data type would be to use:
local partColorString = tostring(part.BrickColor)
pretty much, just gets the BrickColor
attribute from the part and uses the inbuilt function of tostring
to turn it into a string. Hope it helped at least 50%.
To use it, simply apply that same variable name in the BrickColor.new(“stringName”)
I know this thread is very old, but I’m just wondering where you get the variable t? What do you put in that parameter when you call the function?