Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get *every* user from a role instead of just 100?

Asked by 5 years ago
Edited 5 years ago

So I'm using this: print(game.HttpService:GetAsync("https://groups.rprxy.xyz/v1/groups/4640946/roles/31132097/users?limit=100")) And it gives 100 users. What happens if there are more than 100? Is there anyway to get the 'next 100'? Like an extra URL parameter or something?

0
What reason would you have for requiring every single user from a role? fredfishy 833 — 5y

1 answer

Log in to vote
2
Answered by
Kikitob 105
5 years ago

If there are more then 100 users in it, then it will pick the last 100 hundred that joined. Theres currently no way to get the other ones with the current roblox api. Also if you want to check if the user has a specific role you should just use Player:GetRoleInGroup(GroupId) instead of checking the whole table.

Ad

Answer this question