Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //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 = "SEND ME TRADES,ACCEPTING HIGHER RAP TRADES ONLY IF I DOWNGRADE OVER PAY ALOT!!!"
- //
- 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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement