Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Make ImageLabel a Model Thumnail?

Asked by
Moxeh 84
9 years ago

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

0
Writing an answer, stay tuned. RM0d 305 — 9y

1 answer

Log in to vote
4
Answered by
RM0d 305 Moderation Voter
9 years ago

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

Ad

Answer this question