Unable to assign property BackgroundColor3. Color3 expected, got ColorSequence

Just add a UIGradient to the frame… and then change the senquence of it through the script