Hey! I’m having some troubled with my script I’m trying to make an overhead gui of the players group the put in. Everything works minus the group photo always being white. Any help? :’}
if Clan then
if Clan.Value ~= '' then
if Player.Character then
local GroupService = game:GetService("GroupService")
local function getEmblemAsync(groupId)
local groupInfo = GroupService:GetGroupInfoAsync(groupId)
return groupInfo.EmblemUrl
end
local clone = game.ServerStorage.ClanLabel:Clone()
task.wait(5)
clone.Parent = Player.Character.Head
clone.ClanPhoto.Image = getEmblemAsync(tonumber(Player.Clan.Value))
end
end
end
Clans:
Clans are a value inside the player that datasave inbetween joins and leaves. It loads the overhead icon above when they join. The clan value is the group id.
I have not been able to find any valuable information about this subject that has helped me.