the only thing I could find on youtube were “how to make group icons” rather than how to get one and here the search is random, and the only thing I can find is this for discord, but it’s too complicated for me to understand and its for discord, which wont be helpful at all because I’m trying to show the current group’s icon in-game in roblox rather than on a website. please help.
Check this out i think this might help
1 Like
You’d use the available ‘GroupService’ method(s).
https://developer.roblox.com/en-us/api-reference/function/GroupService/GetGroupInfoAsync
local Game = game
local Groups = Game:GetService("GroupService")
local function GetGroupEmblemUrl(GroupId : number) : string
local Success, Result = pcall(function() return Groups:GetGroupInfoAsync(GroupId) end)
if Success and Result then
return Result.EmblemUrl
else
warn(result)
end
end
local EmblemUrl = GetGroupEmblemUrl(1)
print(EmblemUrl)
2 Likes