I have tried string.color, but I realized that string.color isn't a thing anymore.
local TextLabel = script.Parent
TextLabel.Text = "Hello"
local TextToColor = string.find(TextLabel.Text, "He")
TextToColor.Color3 = Color3.new(1, 1, 1)
I want the "llo" part in "Hello" to be black, and the "He" part to be white, but it always prints this:
"TextLabel.LocalScript:4: attempt to index number with 'Color3'"

1 comment
Change the TextToColor.Color3 variable into TextToColor. That worked for me