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

How to get the Group Thumbnail?

Asked by 8 years ago

So how to get the Group Thumbnail of a group? I mean like in-game so it's in a Decal or ImageLabel or ImageButton.

Any help? (I am not asking for a Script I am just asking for a URL or something that I can edit.)

Thanks for helping.

1 answer

Log in to vote
3
Answered by
DevSean 270 Moderation Voter
8 years ago

The following code returns an asset ID which can be placed into decals or ImageLabels/ImageButtons

game:GetService("GroupService"):GetGroupInfoAsync(979242).EmblemUrl

For decals:

local decal = script.Parent
decal.Texture = game:GetService("GroupService"):GetGroupInfoAsync(979242).EmblemUrl

Or for ImageLabels/ImageButtons:

local imageGui = script.Parent
imageGui.Image = game:GetService("GroupService"):GetGroupInfoAsync(979242).EmblemUrl

Here is a list of APIs (Including more group APIs)

0
Helps a lot! Thanks! =D manchester1002 57 — 8y
Ad

Answer this question