I think something like this was asked here but it isn't what I wanted. I want the GUI to do something when clicked and player has that gamepass. Any awnsers for this?
You can use MarketplaceServiceās UserOwnsGamePassAsync
function to verify whether the given user has a Gamepass. This function returns a Boolean Value, meaning we can directly call it within a Conditional.