players = game:GetService("Players") for i, plr in pairs(players:GetPlayers()) do for i, descendant in pairs(plr.PlayerGui.PlayerList.PlayerListContainer.ScrollList:GetDescendants()) do plr2 = game.Players:FindFirstChild(descendant.Name) if plr2.leaderstats.Guild.Value == 9 then descendant.UserFrame.Icon.Image = IconList["OracionSeis"] end end end
Tells me that 'plr2' is a nil value (probably because the loop is running only 1 time as Im the only 'plr', it finds only the first child that is a 'UIListLayout' but I cant figure how to fix this).
I'm trying to update EVERY player's icon of EVERY player's custom playerlist and I'm blocked at this point...