Can i access the marketplace service in a local script.
For instance if i want to check if someone has a certain gamepass i could do this?
local player = game.Players.LocalPlayer
local marketplaceService = game:GetService('MarketplaceService')
if marketplaceService:UserOwnsGamePassAsync(player.UserId, 4712115) then
print('he has it')
end

2 comments
Yes
Yes, Because It is very recommended to use it