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

Make ImageLabel a Model Thumnail?

How do I make an ImageLabel/ImageButton an image from a model I make?

1 comment

0

Writing an answer, stay tuned.

1 answer

✓ Accepted answer

local modelID = 184986053 -- The models Id.
local pre= "http://www.roblox.com/Thumbs/Asset.ashx?Width=420&Height=420&AssetID=" -- RobloxAssetAPI
local ModelImage = pre..modelID  -- Builds the two strings ^
script.Parent.Image = ModelImage  -- put this as a (local/nonlocal)script under the button.

You may also build the string you self

http://www.roblox.com/Thumbs/Asset.ashx?Width=420&Height=420&AssetID=

then you just suffix the ModelID - 184986053

http://www.roblox.com/Thumbs/Asset.ashx?Width=420&Height=420&AssetID=184986053

Then just put that in the decal/ImageGUI

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