this is basically what I have dumbed down. is there a better way to do this? it works for only my account and doesn't work for other accounts
`~~~~~~~~~~~~~~~~~ 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
`
