How would you get the image of a model's thumbnail?

I have created a model and used a ThumbnailCamera in order to set an image for that model, but after doing so, I couldn’t find a way to get the image ID. Is there a possible way to get a model’s thumbnail?

I don’t know a way to get the image id but you can try rbxthumb
Example code:

local decal = Instance.new("Decal")
decal.Name = "ModelThumbnail"
decal.Texture = string.format("rbxthumb://type=Asset&id=%d&w=420&h=420", modelId)
decal.Parent = script.Parent
3 Likes

Right click model, save to roblox, find it in tool box, right click it, see it in browser, right click in browser to get the ID

2 Likes

Oh thanks! I never knew that feature existed.