Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why wont the color start to change?

Asked by
Plieax 66
6 years ago
local speed = .5
local this = script.Parent
local color1 = Color3.fromRGB(255,0,0)
local color2 = Color3.fromRGB(0,0,255)

repeat
    this.TextColor3 = this.TextColor3 + Color3.fromRGB(-1,0,1)
    wait(.1)
until
    this.TextColor3 == color2

Error is on the line after repeat

0
You can’t add Color3 and this.TextColor3. Dog2puppy 168 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You can't add TextColor3, please remove Text

Ad

Answer this question