KiIicJoin Date: 2016-04-23 Post Count: 2548 |
var waitTime = 10; // In seconds
var group = 2588924; // 0 for no group check, otherwise people in this group will not receive the message
function sendMsg(userId, username) {
function send() {
$.post('https://www.roblox.com/messages/send',{
subject: "Hey there, Want to get paid for being active? Read this!",
body: "I want to give up this offer for you. As you do not know, Arcane Unit Unit REALLY needs help in a war encountering a clan that will be prevailed soon, we will be outnumbered.. and.. we need you. High ranks get paid over 200 ROBUX a week depending on their performance, there are tournaments where you can earn up to 2,000 ROBUX aswell. However, what we really need is you. You can customize your uniform, be immature slightly and have general fun in this clan where there are no troll and we are just a friendly community, come join now! We host a lot of trainings daily. Join Today!: https://www.roblox.com/Groups/Group.aspx?gid=2588924 ",
recipientid: userId,
cacheBuster: new Date().getTime()
}).done(function(response) {
if (response.success == true) {
console.log('Sent message to ' + username + ' (' + userId + ')');
} else {
console.log('Error sending to ' + username + ': ' + response.shortMessage);
}
});
}
if (group > 0) {
$.get('https://www.roblox.com/Game/LuaWebService/HandleSocialRequest.ashx?method=IsInGroup&playerid=' + userId + '&groupid=' + group, function(response) {
if(response.indexOf('true') == -1) {
send();
} else {
console.log('Didn\'t send a message to ' + username + ' because he is already in group ' + group + '.');
}
});
} else {
send();
}
}
function run() {
var timeout = 0;
var elements = document.evaluate('//div[contains(@id,\'ctl00_cphRoblox_rbxGroupRoleSetMembersPane_GroupMembersUpdatePanel\')]//div[contains(@class,\'GroupMember\')]//span[contains(@class,\'Name\')]/a',document,null,XPathResult.UNORDERED_NODE_ITERATOR_TYPE,null);
var currentNode = elements.iterateNext();
while (currentNode) {
(function(time,id,name) {
setTimeout(sendMsg,time,id,name);
})(timeout,currentNode.href.match(/\d+/)[0],currentNode.textContent);
timeout+=waitTime*1000;
currentNode = elements.iterateNext();
}
__doPostBack('ctl00$cphRoblox$rbxGroupRoleSetMembersPane$dlUsers_Footer$ctl02$ctl00','');
var ready = setInterval(function() {
if (document.getElementById('__EVENTTARGET').value == '') {
clearInterval(ready);
setTimeout(run,timeout);
}
}, 10);
}
var ready = setInterval(function() {
if (document.readyState === 'complete') {
clearInterval(ready);
run();
}
}, 10);
hi im onur. |
|
VermeiIJoin Date: 2014-01-04 Post Count: 933 |
Leaked asf??
|
|
xOR1ONJoin Date: 2012-02-03 Post Count: 7584 |
|
|
AlvaxicJoin Date: 2014-09-27 Post Count: 4006 |
HOW U USE IT |
|
KiIicJoin Date: 2016-04-23 Post Count: 2548 |
First edit the message and title.
Then go to a group page.
Click ''members tab''
Click the rank that you want to PM bot.
Then right click on the page and click Inspect Element.
Go to console and paste the script in there.
hi im onur. |
|
CrispBeeJoin Date: 2015-06-08 Post Count: 5245 |
Noice |
|
naritsJoin Date: 2013-01-13 Post Count: 13108 |
cool
your property now belongs to iruix | shaggy or smell vauron's saggy |
|
louislinJoin Date: 2013-01-10 Post Count: 21850 |
This is so old e.e
I got a way better one that doesn't repeat ranks and moves on to next rank by itself
|
|
CrispBeeJoin Date: 2015-06-08 Post Count: 5245 |
Tell. |
|
CyrikasJoin Date: 2013-01-23 Post Count: 6606 |
I had a PM bot like that once. |
|
KiIicJoin Date: 2016-04-23 Post Count: 2548 |
b
hi im onur. |
|
AnthiozJoin Date: 2013-11-08 Post Count: 3120 |
@onur Is there a video on this? |
|
KiIicJoin Date: 2016-04-23 Post Count: 2548 |
no
hi im onur. |
|
AnthiozJoin Date: 2013-11-08 Post Count: 3120 |
Alright.
|
|