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
10 years ago

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

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

1 answer

Log in to vote
4
Answered by
RM0d 305 Moderation Voter
10 years ago
1local modelID = 184986053 -- The models Id.
3local ModelImage = pre..modelID  -- Builds the two strings ^
4script.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