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