Hello everyone,
Currently I am making a plugin and I need to check whether the logged in user (StudioService:GetUserId()
) owns a certain asset or not.
I’ve encountered a roadblock with the MarketplaceService:PlayerOwnsAsset()
function, which would be ideal if it took a UserId, however it requires a Player Instance, which might or might not be available in Edit mode.
Any ideas or workarounds on how to check whether the local user owns an asset inside a plugin, ideally with the user’s Id and ideally without HttpService?
Thanks!