Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to get a place's image from just having the game's Id?

I'm trying to make a loading screen where it shows the place name, place image, and how many assets are being loaded.

The place name and assets display is working, but the image just doesen't appear, it's always Id 0...

Am I doing this right?

local ContentProvider = game:service("ContentProvider")
local MarketplaceService = game:service("MarketplaceService")

local placeId = "905681526"
local plcinfo = MarketplaceService:GetProductInfo(placeId)
script.Parent.toptex2.Text = plcinfo.Name
script.Parent.imglbl.Image = "rbxassetid://"..plcinfo.IconImageAssetId

Any help is appreciated, I just prefer not to re-upload the thumbnail/game image.

Thanks in advance.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.