generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

[Fixed Script v2]

Previous Thread :: Next Thread 
CherokeeChieftan is not online. CherokeeChieftan
Joined: 26 Jan 2016
Total Posts: 7
25 Feb 2016 03:00 PM
// Made by YourFriendlyCanadian, Subscribe https://www.youtube.com/channel/UCYZcX-vX1qO-OkZfMwsNUgA
var placeId = 198817751; // Place to check and message
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: 'Cherokee Tribe',
body: 'Osiyo, ' + username + '.\n\We are the Cherokee Tribe, a native-american tribe with respectful members. We allow people make their own clans and join different branches and get past ranks. We pay our people to recruit with robux prizes and we host tournaments in weekends and fridays. We saw that you have potential and we were thinking you would fit inside out tribe. Please send a join request here: http://www.roblox.com/My/Groups.aspx?gid=969414 . We care about any member we have.',
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();
}
}

var i=0;
function run() {
var timeout = 0;
var url = "http://www.roblox.com/games/getgameinstancesjson?placeId=" + placeId +"&startindex=" + i*10;
$.get(url).done(function(obj){
for (var server in obj.Collection) {
for (var players in obj.Collection[server].CurrentPlayers) {
var plr = obj.Collection[server].CurrentPlayers[players];
if (plr.Id > 0) {
(function(time,id,name) {
setTimeout(sendMsg,time,id,name);
})(timeout,plr.Id,plr.Username);
timeout+=waitTime*1000;
}
}
}
i++;
setTimeout(run, timeout);
});
}
run();
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image