How do i load gamepass image in a image label and where do i put it? I did anything but it doesnt work
You can use MarketplaceService's GetProductInfo() to get the IconImageAssetId of the specified gamepass:
local mps = game:GetService("MarketplaceService") local img --imagelabel location imagelabel.Image = mps:GetProductInfo(7944640,Enum.InfoType.GamePass).IconImageAssetId
Its two arguments are the ID and its InfoType (Enum).
print(
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?