p.GamepassImage.Image = "http://www.roblox.com/Thumbs/Asset.ashx?Width=420&Height=420&AssetID="..tostring(perk.ID)
I'm trying to display my gamepass image with my gamepass id, however it is displaying a totally different thing (free model image)
I think it's because roblox gamepass id were changed, any help please?
You can use MarketplaceService:GetProductInfo(ID,2).IconImageAssetId
. This will get the icon of the Gamepass
local market = game:GetService("MarketplaceService") p.GamepassImage.Image = "rbxassetid://" .. market:GetProductInfo(ID,2).IconImageAssetId
Happy to help, b_mni
I think you only can do that with decals. What I would do is upload the decal and then get it from there.