Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Go to the group page you want to spam when running this.
- Inspect Element->Console and copy and paste the code.
- Wait time can be adjusted and the bot will attempt to send messages super fast, but it's good to keep the time high or ROBLOX will detect flooding.
- You can change the group number to the group you are recruiting for so that it doesn't send the message to people in that group.
- */
- var waitTime = 5; // In seconds
- var group = 0; // 0 for no group check, otherwise people in this group will not receive the message
- function sendMsg(userId, username) {
- function send() {
- $.post('http://www.roblox.com/messages/send',{
- subject: 'WWII groups are threatened.',
- body: 'Dear, ' + username + '.\n\nI have been inspired to send you this message because of the players who wish to remove our genre. There are people who grin whenever a group within our era is destroyed. They absolutely love it. They see our way of life as unworthy of existence. I am here today to tell you that we are not going to put up with their nonsense. The people I am referring to are the Clan World Oligarchs, a group of people that exist primarily within the futuristic genre but prey upon other genres. They have well connections and easy access to funds. They have held a knife to the necks of major clan leaders. When the leader does not obey them, they strike like a serpent. They attempt to bribe the high-ranking members. Along with this, they report the other group. It is not just one individual. It is a whole group that commits such evil. Through this method, they have been successful in deleting many of our groups.\n\nThe oligarchs strive to incorporate globalism into the Clan World. They want all clans to fit under a system that they have created so that our members will join other groups. Once this has occurred, the individual will be within too many groups in order to be loyal to any. Once a hostility has broken out, there will be a split in the loyalty of the individuals. This split will affect the high-ranking people of the clan as well. This tear will ruin all groups involved within the hostility. The oligarchs will smile. They have just destroyed another group.\n\nWhen I initially learned of this, I was frightened. It prompted me to tell everyone I could, which is why you are reading this now. I really believe that we need to break away from the chains of the oligarchy. You can help us by spreading this message to your friends and by opposing globalism whenever you see it. Whatever you do, I do hope that our genre resists the destruction pushed upon us by a system that wishes to see our demise.\n\n Signed,\n Anonymous WWII leader who wishes to not obey the oligarchs.',
- 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('http://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);
Advertisement
Add Comment
Please, Sign In to add comment