basically i'm testing out my game and one account owns all the gamepasses and everything works fine. another account owns every gamepass as well and none of them work. is this a glitch on robloxs ends?
this code is basically what I have dumbed down.
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:connect(function(char)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(game.Players[char.Name].UserId, id) then
print("has gamepass")
end
end
end

3 comments
those "end" s should be "end)" .. not sure if thats causing the proble, maybe the script is only listening once?
use end end) end) not end end end
theres no error in the script. that was a example