Hello there this is my first time using getproduct info, and I wanted to get the image of a accessory on the roblox website.
I wrote this code for it
So I am trying to put the image of a accessory on roblox on a roblox image button but can’t seem to do it
The code -
local mps = game:GetService("MarketplaceService")
local info = mps:GetProductInfo(4932554634)
local function img()
local thing = info.IconImageAssetId
print(info.Name)
return thing
end
script.Parent.Image = "rbxassetid://".. img()
and I get this in the console -
the layout -