View difference between Paste ID: NvCJNaVT and T9qE0w41
SHOW: | | - or go back to the newest paste.
1
Bots
2
3
---------------------------------
4
5
6
Group PM bot:
7
8
9
10
var Arri = []
11
var i = -1
12
 
13
function NextPage(){
14
       __doPostBack('ctl00$cphRoblox$rbxGroupRoleSetMembersPane$dlUsers_Footer$ctl02$ctl00','')
15
}
16
 
17
function Check(){
18
   $('#ctl00_cphRoblox_rbxGroupRoleSetMembersPane_GroupMembersUpdatePanel > > > > > .Name >').each(function(){
19
 var g = $(this).attr('href')
20
 var f = $(this).attr('href').replace('../User.aspx?ID=','')
21
 console.log(f)
22
 Arri.push(f)
23
})
24
}
25
function sendMsg()
26
{
27
        $.post("http://www.roblox.com/messages/send",{
28
                subject                 :               "Hey there, send me a trade!",
29-
                body                    :               "Send on all of my items, over 25K in limiteds! I am upgrading and downgrading, but if I am downgrading you must OP. The only thing I am not trading at the moment are my Breezekreig Adventurers.",
29+
                body                    :               "Send on all of my items!, I am upgrading and downgrading, but if I am downgrading you must OP. Higher Rap is AUTO ACCEPT!",
30
                recipientid             :               Arri[i],
31
                cacheBuster             :               new Date().getTime()
32
        }).complete(function(){
33
                console.log('Sent message to ' + username + '.')
34
        })
35
}
36
 var sendd = setInterval(function(){
37
       i++;
38
       sendMsg()
39
 },10000)
40
setInterval(function(){
41
        Arri.length = 0
42
        i = 0
43
        NextPage()
44
             setTimeout(function(){
45
         Check()
46
         },2000)
47
},103000)
48
 
49
Check()
50
51
52
53
54
---------------------------------
55
56
57
58
59
60
Forum Bot #1
61
62
63
64
var RandomPosts = ["lolkool","uhhh sure!","my name is roooobot"]
65
var ForumId = 38
66
function Post(){
67
        $.get("http://www.roblox.com/Forum/ShowForum.aspx?ForumID=" + ForumId,function(Data){
68
                var Link = $(Data).find(".linkSmallBold")[4].href
69
                Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + Link.replace("http://www.roblox.com/Forum/ShowPost.aspx?PostID=","")
70
                $.get(Link,function(Data){
71
                        var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
72
                        var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
73
                        $.post(Link,{
74
                                "__VIEWSTATE" : VS,
75
                                "__EVENTVALIDATION" : EV,
76
                                "ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
77
                                "ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : RandomPosts[Math.floor((Math.random() * RandomPosts.length) + 1)],
78
                                "ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
79
                        })
80
                })
81
        })
82
}
83
Post()
84
var Interval = setInterval(function(){
85
        Post()
86
},40000)
87
88
89
90
---------------------------------
91
92
93
94
Forum Bot #2:
95
96
97
98
var ThreadId = prompt("What thread Id would you like to bump?")
99
var BumpTimes = prompt("How many times would you like to bump this thread?")
100
//
101
var OnBump = 0
102
var Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + ThreadId
103
function Post(){
104
        $.get(Link,function(Data){
105
                var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
106
                var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
107
                $.post(Link,{
108
                        "__VIEWSTATE" : VS,
109
                        "__EVENTVALIDATION" : EV,
110
                        "ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
111
                        "ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
112
                        "ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
113
                })
114
        })
115
}
116
Post()
117
var Interval = setInterval(function(){
118
        if (OnBump == BumpTimes){
119
                clearInterval(Interval)
120
        }
121
        Post()
122
        OnBump++
123
},40000)
124
125
126
127
128
129
---------------------------------
130
131
132
133
134
Comment Bot:
135
136
137
138
var Comment = "Send trades on over 25K in limiteds! Accepting and countering all trades!"
139
//
140
var PageOn = 1
141
var PageLimit = 96
142
function Go(){
143
        console.log("On page " + PageOn)
144
        var BaseLink = "http://www.roblox.com/catalog/json?SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=0&PageNumber="
145
        $.get(BaseLink + PageOn,function(Data){
146
                for (var Object in Data){
147
                        function Loop(){
148
                                var Id = Data[Object]["AssetId"]
149
                                $.get("http://www.roblox.com/Item-item?id=" + Id).always(function(Data){
150
                                        var Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
151
                                        Token = Token.replace("+","%2B").replace("/","%2F")
152
                                        $.post("http://www.roblox.com/API/Comments.ashx?rqtype=makeComment&assetID=" + Id + "&token=" + Token,Comment)
153
                                })
154
                        }
155
                        Loop()
156
                }
157
        }).always(function(){
158
                PageOn++
159
                if (PageOn == PageLimit){
160
                        PageOn = 0
161
                }
162
                Go()
163
        })
164
}
165
Go()
166
167
168
169
170
171
---------------------------------
172
173
174
175
176
177
Troll Trade Bot:
178
179
180
181
function POST(){
182
        $.ajax({
183
                url : "/My/Money.aspx/GetMyItemTrades",
184
                type : "POST",
185
                data : '{"statustype":"inbound","startindex":0}',
186
                contentType : "application/json; charset=UTF-8",
187
                success : function(Data){
188
                        var Base = jQuery.parseJSON(jQuery.parseJSON(Data.d).Data[0])
189
                        var TradeId = Base["TradeSessionID"]
190
                        var Partner = Base["TradePartnerID"]
191
                        var Token = ""
192
                        $.get("/My/Money.aspx",function(Data){
193
                                Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
194
                    Token = Token.replace("+","%2B").replace("/","%2F")
195
                        }).always(function(){
196
                                $.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,cmd : "pull"},function(Data){
197
                                        var Base = jQuery.parseJSON(Data.data).AgentOfferList
198
                                        var Other = 1
199
                                        if (Number(Base[0].AgentID) == Number(Partner)){
200
                                                Other = 0
201
                                        }
202
                                        var OtherVal = Base[Other]["OfferValue"]
203
                                        var SelfVal = Base[Other == 0 && 1 || 0]["OfferValue"]
204
                                        var TradeJSON = Data.data
205
                                        if (OtherVal/3 > SelfVal){
206
                                                $.post("/Trade/TradeHandler.ashx?token=" + Token,{TradeID : TradeId,TradeJSON:TradeJSON,cmd : "maketrade"})
207
                                        }
208
                                        POST()
209
                                })
210
                        })
211
                }
212
        })
213
}
214
POST()
215
216
217
218
---------------------------------
219
220
221
Message Spam Bot:
222
223
224
225
226
var ID = 5981119
227
function PM(){
228
        $.post("http://www.roblox.com/messages/send",{
229
                subject : "UMAD!",
230
                body : "UMAD!",
231
                recipientid : ID,
232
                cacheBuster : new Date().getTime()
233
        }).always(function(){
234
                PM()
235
        })
236
}
237
PM()