local groupId = 10190482 -- Replace with your group ID
while true do
local response = game.HttpService:RequestAsync({
Url = "https://groups.roblox.com/v1/groups/" .. groupId
})
if response.Success then
local data = game.HttpService:JSONDecode(response.Body)
local memberCount = data.memberCount
print("Group Member Count: " .. memberCount)
else
print("Error fetching group data")
end
wait(10) -- Refresh every minute
end
error:
HttpService is not allowed to access ROBLOX resources