Where am I going wrong here with creating a UIGradient?

Hey, I want to edit my plugin with an option to change the theme of the buttons that the plugin creates. However, I’m at an issue with trying to get the color sequence for the UIGradient. Can anyone help me?

1 Like

Numbers aren’t valid identifiers, yet you are trying to do this.

You would do UIGradient.Color = ColorSequence.new(...) here. Check out the documentation on how to properly construct a ColorSequence:

2 Likes

I’m going to try that now, thanks for helping.

Just had a bit of errors with the code before it [need this bit of code to test this], will get back to you to see if it works once I’ve done fixing this.

Thank you for helping.