// Exile specific members in a group, including by rank and by name.
Useful for
cleaning up bots.
var rbx = require('roblox-js');
var ProgressBar = require('progress');
var username = '';
var password = '';
var group = 0;
var rank = null; // Make this the rank number if you want to use rank.
var pages = null;
[Link](username, password)
.then(function () {
// This allows you to retrieve only a specific set of pages.
/* pages = [];
for (var i = 0; i <= 100; i++) {
[Link](i);
} */
var getPlayers = new ProgressBar('Getting players [:bar] :current/:total =
:percent :etas remaining ', {total: 10000});
var promise = [Link](group, rank, pages);
[Link](function (res) {
var plrs = [Link];
// This allows you to select only players that have a specific string in their
name.
/* for (var i = [Link] - 1; i >= 0; i--) {
var plr = plrs[i];
if () {
[Link](i, 1);
}
} */
[Link]()
.then(function () {
[Link](group)
.then(function (roleset) {
var exile = new ProgressBar('Exiling [:bar] :current/:total = :percent
:etas remaining ', {total: 10000});
[Link]('Time: ');
var thread = [Link](function (i) {
return [Link]({group: group, target: plrs[i].id, senderRolesetId:
roleset});
}, 0, [Link]);
var ivl = setInterval(function () {
[Link]([Link]() / 100);
}, 1000);
[Link](function () {
clearInterval(ivl);
[Link]('Time: ');
});
});
});
});
var ivl = setInterval(function () {
[Link]([Link]() / 100);
}, 1000);
[Link](function () {
clearInterval(ivl);
});
});