So I have this gamepass in my game… of the ID 837859114.
And this script, which is supposedly meant to check if I own the gamepass or not.
function isAuthenticated(player) return game:GetService("GamePassService"):PlayerHasPass(player, 837859114) end -- Code in game.Players.PlayerAdded function. if isAuthenticated(player) == true then print("has pass") else print("doesn't have pass") end
And, once I owned the gamepass, it did print “has pass”, I then tried to see if it would work if I didn’t own it. So I deleted it from my inventory, and tested it. It was still printing “has pass”.
Is this a bug or am I doing something wrong?
Also, it all used to work back when :PlayerHasPass() wasn’t a thing.