After introducing a VIP game pass to my game a few days ago, I got a lot of messages that my VIP pass wasn’t being recognised by the in-game GUI store.
I knew it was the PlayerHasPass() function that wasn’t working correctly.
I triple-checked my code, it appeared solid as a rock, no errors, no warnings. The wiki article didn’t specify any specific pitfalls about this method.
After a lot of attempts (and crying) to make it work I replaced the LocalScript containing the function with a (server) script, and it worked again like nothing ever happened.
I wouldn’t classify this as a bug, but it should be noted that the link above is missing an important message saying that this method should only be used with a Script and not a LocalScript, like here.