Unable to assign property BackgroundColor3. Color3 expected, got ColorSequence

Can someone help pls. Im try to give frame color sequence using mouseleave
error

1 Like

You have to use color3, you can’t use colorSequence

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

  1. please use three backticks instead of a picture, it makes it easier for us to debug it for you

  2. you need to use Color3 and you used it incorrectly

2 Likes

ok but how? idk how to make this

Just add a UIGradient object to the Frame and then edit it like this:

script.Parent.MouseLeave:Connect(function()
    frame.UIGradient.Color = ColorSequence.new({
            -- put the keypoints here
    })
end)
1 Like

alright thx ill fix them now. Yeah

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.