Having this weird error in my game, I’m not sure why. When I rejoined it worked though.
Can someone help?
Having this weird error in my game, I’m not sure why. When I rejoined it worked though.
Can someone help?
Probably something wrong on Roblox’s end. I would recommend pcalling the UserOwnsGamePassAsync since - as seen here - it grabs information from a web API and could possibly error while doing so.
ie.
local does_own = pcall(function()
return marketplace_service:UserOwnsGamePassAsync(
player.UserId,
123456789
);
end);
See more on pcalls: