So, i have a system here that imports a list of members, gives the list a name, but i need it to count the amount of players in the list, because it will be constantly changing.
AxMembers = game:HttpGet('https://pastebin.com/raw/tbLeesMx')
-- once the table has been counted, it is put into variable 'tablecount'.
while true do
ALL_PLAYERS = game:GetService("Players")
for v in 1,tablecount do
for i, player in pairs(ALL_PLAYERS:GetPlayers()) do
if player.Name == AxMembers[v] then
game.CoreGui.RobloxGui.PlayerListContainer.ScrollList:FindFirstChild(player.Name).BGFrame.MembershipIcon.Image = 'rbxassetid://714343976'
wait(1)
end
end
end
end

1 comment
Please read the code in Source.