19BE7278 is just an example, it can be a lot more. Don't know the official names for these.
Or if anyone knows how to do it before I got that value;
function GetColor()
local PlayerColours = {
BrickColor.new("Bright red"), BrickColor.new("Bright blue"), BrickColor.new("Earth green"), BrickColor.new("Bright violet"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Light reddish violet"), BrickColor.new("Brick yellow"),
}
local GetNameValue = CurrentText
function GetChatColour(Name) return PlayerColours[GetNameValue(Name) + 1] end
function GetNameValue(Name) local Length = #Name local Value = 0 for Index = 1, Length do local CharacterValue = string.byte(string.sub(Name, Index, Index)) if (Length - Index + 1) % 4 < 2 then Value = Value + CharacterValue else Value = Value - CharacterValue end end return Value % 8 end
return GetChatColour end
Later on
NewColor = GetColor() print("1") print(NewColor) print("2") print(NewColor.Color)

1 comment
Sorry, will do. I'm new.