|
PASTEBIN | #1 paste tool since 2002 create new paste
tools
api
archive
faq
PASTEBIN
create new paste trending pastes
sign up
login flood check spamming forum bot
my alerts
my settings
my profile
Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Public Pastes
Untitled11 sec ago
xrandr10 sec ago
Untitled14 sec ago
Untitled23 sec ago
Untitled27 sec ago
Untitled28 sec ago
Untitled32 sec ago
Untitled34 sec ago
0
1
Guest
[RELEASE] ROBLOX Bots [RELEASE] [WATERAURA]
By: a guest on Jul 30th, 2013 | syntax: JavaScript | size: 5.54 KB | hits: 3,491 | expires: Never
download | raw | embed | report abuse | print
1.
/*
2.
Want a hat sniper bot?
3.
4.
5.
add me on skype wsf225
6.
*/
7.
8.
9.
//Forum Bot
10.
//How to use
11.
/*
12.
Go to forum, enter a forum id and put in some random posts in the table
13.
14.
press f12 > console > paste this in and press enter
15.
Credit : wateraura / add me on skype wsf225
16.
*/
17.
var RandomPosts = ["lolkool","uhhh sure!","my name is roooobot"]
18.
var ForumId = 38
19.
function Post(){
20.
$.get("http://www.roblox.com/Forum/ShowForum.aspx?ForumID=" + ForumId,function(Data){
21.
var Link = $(Data).find(".linkSmallBold")[4].href
22.
Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + Link.replace("http://www.roblox.com/Forum/ShowPost.aspx?PostID=","")
23.
$.get(Link,function(Data){
24.
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
25.
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
26.
$.post(Link,{
27.
"__VIEWSTATE" : VS,
28.
"__EVENTVALIDATION" : EV,
29.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
30.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : RandomPosts[Math.floor((Math.random() * RandomPosts.length) + 1)],
31.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
32.
})
33.
})
34.
})
35.
}
36.
Post()
37.
var Interval = setInterval(function(){
38.
Post()
39.
},40000)
40.
41.
//Comment bot
42.
//How to use
43.
/*
44.
Enter a comment at the top.
45.
46.
Press f12 > console > paste the code in and press enter and it should start posting comments
47.
48.
takes about 30 minutes to comment out the whole catalog
49.
50.
Credit : wateraura / add me on skype wsf225
51.
*/
52.
var Comment = "Snazzy!"
53.
//
54.
var PageOn = 1
55.
var PageLimit = 96
56.
function Go(){
57.
console.log("On page " + PageOn)
58.
var BaseLink = "http://www.roblox.com/catalog/json?SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=0&PageNumber="
59.
$.get(BaseLink + PageOn,function(Data){
60.
for (var Object in Data){
61.
function Loop(){
62.
var Id = Data[Object]["AssetId"]
63.
$.get("http://www.roblox.com/Item-item?id=" + Id).always(function(Data){
64.
var Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
65.
Token = Token.replace("+","%2B").replace("/","%2F")
66.
$.post("http://www.roblox.com/API/Comments.ashx?rqtype=makeComment&assetID=" + Id + "&token=" + Token,Comment)
67.
})
68.
}
69.
Loop()
70.
}
71.
}).always(function(){
72.
PageOn++
73.
if (PageOn == PageLimit){
74.
PageOn = 0
75.
}
76.
Go()
77.
})
78.
}
79.
Go()
80.
81.
//Troll Trade bot
82.
/*
83.
Accepts troll trades very fast with a failsafe
84.
85.
Press f12 > console > paste this in > press enter
86.
87.
Basically accepts trades with raps divided by 3 that is greater than my value
88.
89.
Credit : wateraura / add me on skype wsf225
90.
*/
91.
function POST(){
92.
$.ajax({
93.
url : "/My/Money.aspx/GetMyItemTrades",
94.
type : "POST",
95.
data : '{"statustype":"inbound","startindex":0}',
96.
contentType : "application/json; charset=UTF-8",
97.
success : function(Data){
98.
var Base = jQuery.parseJSON(jQuery.parseJSON(Data.d).Data[0])
99.
var TradeId = Base["TradeSessionID"]
100.
var Partner = Base["TradePartnerID"]
101.
var Token = ""
102.
$.get("/My/Money.aspx",function(Data){
103.
Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
104.
Token = Token.replace("+","%2B").replace("/","%2F")
105.
}).always(function(){
106.
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,cmd : "pull"},function(Data){
107.
var Base = jQuery.parseJSON(Data.data).AgentOfferList
108.
var Other = 1
109.
if (Number(Base[0].AgentID) == Number(Partner)){
110.
Other = 0
111.
}
112.
var OtherVal = Base[Other]["OfferValue"]
113.
var SelfVal = Base[Other == 0 && 1 || 0]["OfferValue"]
114.
var TradeJSON = Data.data
115.
if (OtherVal/3 > SelfVal){
116.
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,TradeJSON:TradeJSON,cmd : "maketrade"})
117.
}
118.
POST()
119.
})
120.
})
121.
}
122.
})
123.
}
124.
POST()
125.
//Thread Bumper
126.
/*
127.
How to use
128.
129.
press f12>console>paste this in>press enter
130.
Enter in the id of the thread
131.
and how many times you want to bump this
132.
133.
Credit : wateraura / add me on skype wsf225
134.
*/
135.
var ThreadId = prompt("What thread Id would you like to bump?")
136.
var BumpTimes = prompt("How many times would you like to bump this thread?")
137.
//
138.
var OnBump = 0
139.
var Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + ThreadId
140.
function Post(){
141.
$.get(Link,function(Data){
142.
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
143.
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
144.
$.post(Link,{
145.
"__VIEWSTATE" : VS,
146.
"__EVENTVALIDATION" : EV,
147.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
148.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
149.
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
150.
})
151.
})
152.
}
153.
Post()
154.
var Interval = setInterval(function(){
155.
if (OnBump == BumpTimes){
156.
clearInterval(Interval)
157.
}
158.
Post()
159.
OnBump++
160.
},40000)
161.
//PM bot
162.
/*
163.
How to use
164.
165.
press f12 > console > enter in the code and press enter
166.
167.
enter in the id of the guy you want to annoy
168.
169.
Credit : wateraura / add me on skype wsf225
170.
*/
171.
var ID = 5981119
172.
function PM(){
173.
$.post("http://www.roblox.com/messages/send",{
174.
subject : "UMAD!",
175.
body : "UMAD!",
176.
recipientid : ID,
177.
cacheBuster : new Date().getTime()
178.
}).always(function(){
179.
PM()
180.
})
181.
}
182.
PM()
create a new version of this paste RAW Paste Data
/*
Want a hat sniper bot?
add me on skype wsf225
*/
//Forum Bot
//How to use
/*
Go to forum, enter a forum id and put in some random posts in the table
press f12 > console > paste this in and press enter
Credit : wateraura / add me on skype wsf225
*/
var RandomPosts = ["lolkool","uhhh sure!","my name is roooobot"]
var ForumId = 38
function Post(){
$.get("http://www.roblox.com/Forum/ShowForum.aspx?ForumID=" + ForumId,function(Data){
var Link = $(Data).find(".linkSmallBold")[4].href
Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + Link.replace("http://www.roblox.com/Forum/ShowPost.aspx?PostID=","")
$.get(Link,function(Data){
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
$.post(Link,{
"__VIEWSTATE" : VS,
"__EVENTVALIDATION" : EV,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : RandomPosts[Math.floor((Math.random() * RandomPosts.length) + 1)],
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
})
})
})
}
Post()
var Interval = setInterval(function(){
Post()
},40000)
//Comment bot
//How to use
/*
Enter a comment at the top.
Press f12 > console > paste the code in and press enter and it should start posting comments
takes about 30 minutes to comment out the whole catalog
Credit : wateraura / add me on skype wsf225
*/
var Comment = "Snazzy!"
//
var PageOn = 1
var PageLimit = 96
function Go(){
console.log("On page " + PageOn)
var BaseLink = "http://www.roblox.com/catalog/json?SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=0&PageNumber="
$.get(BaseLink + PageOn,function(Data){
for (var Object in Data){
function Loop(){
var Id = Data[Object]["AssetId"]
$.get("http://www.roblox.com/Item-item?id=" + Id).always(function(Data){
var Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
Token = Token.replace("+","%2B").replace("/","%2F")
$.post("http://www.roblox.com/API/Comments.ashx?rqtype=makeComment&assetID=" + Id + "&token=" + Token,Comment)
})
}
Loop()
}
}).always(function(){
PageOn++
if (PageOn == PageLimit){
PageOn = 0
}
Go()
})
}
Go()
//Troll Trade bot
/*
Accepts troll trades very fast with a failsafe
Press f12 > console > paste this in > press enter
Basically accepts trades with raps divided by 3 that is greater than my value
Credit : wateraura / add me on skype wsf225
*/
function POST(){
$.ajax({
url : "/My/Money.aspx/GetMyItemTrades",
type : "POST",
data : '{"statustype":"inbound","startindex":0}',
contentType : "application/json; charset=UTF-8",
success : function(Data){
var Base = jQuery.parseJSON(jQuery.parseJSON(Data.d).Data[0])
var TradeId = Base["TradeSessionID"]
var Partner = Base["TradePartnerID"]
var Token = ""
$.get("/My/Money.aspx",function(Data){
Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
Token = Token.replace("+","%2B").replace("/","%2F")
}).always(function(){
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,cmd : "pull"},function(Data){
var Base = jQuery.parseJSON(Data.data).AgentOfferList
var Other = 1
if (Number(Base[0].AgentID) == Number(Partner)){
Other = 0
}
var OtherVal = Base[Other]["OfferValue"]
var SelfVal = Base[Other == 0 && 1 || 0]["OfferValue"]
var TradeJSON = Data.data
if (OtherVal/3 > SelfVal){
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,TradeJSON:TradeJSON,cmd : "maketrade"})
}
POST()
})
})
}
})
}
POST()
//Thread Bumper
/*
How to use
press f12>console>paste this in>press enter
Enter in the id of the thread
and how many times you want to bump this
Credit : wateraura / add me on skype wsf225
*/
var ThreadId = prompt("What thread Id would you like to bump?")
var BumpTimes = prompt("How many times would you like to bump this thread?")
//
var OnBump = 0
var Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + ThreadId
function Post(){
$.get(Link,function(Data){
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
$.post(Link,{
"__VIEWSTATE" : VS,
"__EVENTVALIDATION" : EV,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
})
})
}
Post()
var Interval = setInterval(function(){
if (OnBump == BumpTimes){
clearInterval(Interval)
}
Post()
OnBump++
},40000)
//PM bot
/*
How to use
press f12 > console > enter in the code and press enter
enter in the id of the guy you want to annoy
Credit : wateraura / add me on skype wsf225
*/
var ID = 5981119
function PM(){
$.post("http://www.roblox.com/messages/send",{
subject : "UMAD!",
body : "UMAD!",
recipientid : ID,
cacheBuster : new Date().getTime()
}).always(function(){
PM()
})
}
PM()
Pastebin.com Tools & Applications
iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
create new paste | api | trends | users | faq | tools | privacy | cookies policy | contact | stats | go pro
Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
Dedicated Server Hosting by Steadfast
Pastebin v3.11 rendered in: 0.009 seconds
/*
Want a hat sniper bot?
add me on skype wsf225
*/
//Forum Bot
//How to use
/*
Go to forum, enter a forum id and put in some random posts in the table
press f12 > console > paste this in and press enter
Credit : wateraura / add me on skype wsf225
*/
var RandomPosts = ["lolkool","uhhh sure!","my name is roooobot"]
var ForumId = 38
function Post(){
$.get("http://www.roblox.com/Forum/ShowForum.aspx?ForumID=" + ForumId,function(Data){
var Link = $(Data).find(".linkSmallBold")[4].href
Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + Link.replace("http://www.roblox.com/Forum/ShowPost.aspx?PostID=","")
$.get(Link,function(Data){
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
$.post(Link,{
"__VIEWSTATE" : VS,
"__EVENTVALIDATION" : EV,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : RandomPosts[Math.floor((Math.random() * RandomPosts.length) + 1)],
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
})
})
})
}
Post()
var Interval = setInterval(function(){
Post()
},40000)
//Comment bot
//How to use
/*
Enter a comment at the top.
Press f12 > console > paste the code in and press enter and it should start posting comments
takes about 30 minutes to comment out the whole catalog
Credit : wateraura / add me on skype wsf225
*/
var Comment = "Snazzy!"
//
var PageOn = 1
var PageLimit = 96
function Go(){
console.log("On page " + PageOn)
var BaseLink = "http://www.roblox.com/catalog/json?SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=0&PageNumber="
$.get(BaseLink + PageOn,function(Data){
for (var Object in Data){
function Loop(){
var Id = Data[Object]["AssetId"]
$.get("http://www.roblox.com/Item-item?id=" + Id).always(function(Data){
var Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
Token = Token.replace("+","%2B").replace("/","%2F")
$.post("http://www.roblox.com/API/Comments.ashx?rqtype=makeComment&assetID=" + Id + "&token=" + Token,Comment)
})
}
Loop()
}
}).always(function(){
PageOn++
if (PageOn == PageLimit){
PageOn = 0
}
Go()
})
}
Go()
//Troll Trade bot
/*
Accepts troll trades very fast with a failsafe
Press f12 > console > paste this in > press enter
Basically accepts trades with raps divided by 3 that is greater than my value
Credit : wateraura / add me on skype wsf225
*/
function POST(){
$.ajax({
url : "/My/Money.aspx/GetMyItemTrades",
type : "POST",
data : '{"statustype":"inbound","startindex":0}',
contentType : "application/json; charset=UTF-8",
success : function(Data){
var Base = jQuery.parseJSON(jQuery.parseJSON(Data.d).Data[0])
var TradeId = Base["TradeSessionID"]
var Partner = Base["TradePartnerID"]
var Token = ""
$.get("/My/Money.aspx",function(Data){
Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
Token = Token.replace("+","%2B").replace("/","%2F")
}).always(function(){
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,cmd : "pull"},function(Data){
var Base = jQuery.parseJSON(Data.data).AgentOfferList
var Other = 1
if (Number(Base[0].AgentID) == Number(Partner)){
Other = 0
}
var OtherVal = Base[Other]["OfferValue"]
var SelfVal = Base[Other == 0 && 1 || 0]["OfferValue"]
var TradeJSON = Data.data
if (OtherVal/3 > SelfVal){
$.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,TradeJSON:TradeJSON,cmd : "maketrade"})
}
POST()
})
})
}
})
}
POST()
//Thread Bumper
/*
How to use
press f12>console>paste this in>press enter
Enter in the id of the thread
and how many times you want to bump this
Credit : wateraura / add me on skype wsf225
*/
var ThreadId = prompt("What thread Id would you like to bump?")
var BumpTimes = prompt("How many times would you like to bump this thread?")
//
var OnBump = 0
var Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + ThreadId
function Post(){
$.get(Link,function(Data){
var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
$.post(Link,{
"__VIEWSTATE" : VS,
"__EVENTVALIDATION" : EV,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
"ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
"ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
})
})
}
Post()
var Interval = setInterval(function(){
if (OnBump == BumpTimes){
clearInterval(Interval)
}
Post()
OnBump++
},40000)
//PM bot
/*
How to use
press f12 > console > enter in the code and press enter
enter in the id of the guy you want to annoy
Credit : wateraura / add me on skype wsf225
*/
var ID = 5981119
function PM(){
$.post("http://www.roblox.com/messages/send",{
subject : "UMAD!",
body : "UMAD!",
recipientid : ID,
cacheBuster : new Date().getTime()
}).always(function(){
PM()
}) nah
}
PM() |