Apparently, this devforum post, which dates when this gamepass thing was changed, is here:
GamePassService
is the correct service to use here, make sure to change it. The method for it, based on the dev wiki, is GamePassService:PlayerHasPass
.
Where is the Click
function used in your script? Is it bound to a ClickDetector
?