So I have this script that gets the color of a brick then compares it to a string value in the player. If it's the same then it should print the color of the block. But it never runs even though ColorValue and BloxColor are the same. I think brick colors are a different value type than string, but I can't figure out which.
local PlayerPlayer = game.Players:FindFirstChild(Torso.Parent.Name)
local ColorValue = PlayerPlayer:FindFirstChild("Value").Value
local BloxColor = Blox.BrickColor
if ColorValue == BloxColor then
print("BloxColor")
end

3 comments
im think you mean a vector or a color3
its saying Value.Value does not equal to Blox.BrickColor
Is Torso at the 1st line referenced by a variable?