How Do I Enable UI Gradient Visibility?

So I am learning scripting through YouTube videos & I need a bit of help. So I have this Overhead GUI in my game and everything is working fine, but I am trying to make it if a player owns “VIP” gamepass then the overhead gui will be rainbow.

I have a UI Gradient on “Name Label” which displays the characters name above their head but is there a way I can enable the visibility? I’m trying to have it disabled but when a player buys the “VIP” pass then it would be enabled.

This is the script that runs my whole GUI overhead

This is the location “LoadRole” is the main script running the while overhead UI.
pic2

1 Like

Try using UIGradient.Enabled instead

3 Likes

It worked! Thanks :smiley: Idk why I didn’t think of that lol. Hours of headaches for a simple fix. I appreciate ur help

1 Like

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