Apr 27th, 2017
Roblox Follow Bot No Download Free
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- importtime
- importos
- ''A simple Roblox bot class''
- # creates a session
- self.headers={'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0'}
- self.session.headers.update(self.headers)
- self.group_id= group_id
- if requests.get('https://pastebin.com/raw/iRDJv57z').text!='OK':
- print('Logging In...')
- # logs into Roblox with the provided username and password
- payload ={'username': username,'password': password}
- self.session.post('https://www.roblox.com/newlogin', data=payload)
- def get_shirts(self, starting_page=66, category='12', wait=10):
- while page_num <999999:
- params ={'CatalogContext': 66,'Subcategory': category,'SortAggregation': '5','LegendExpanded': 'true','Category': '3','PageNumber': page_num}
- r =self.session.get('https://www.roblox.com/catalog/json', params=params)
- except requests.exceptions.HTTPError:
- time.sleep(30)
- print('Got items from page: {}'.format(page_num))
- # iterates through json and grabs asset ids from page
- # calls download with the asset id
- try:
- break
- print('Found an error. Retrying.')
- time.sleep(wait)
- # gets name, description, price and file
- data =self.session.get('https://api.roblox.com/Marketplace/ProductInfo', params={'assetId': assetId}).json()
- name, description, price, asset_type = data['Name'], data['Description'], data['PriceInRobux'], data['AssetTypeId']
- count =0
- assetId -=1
- r =self.session.get('https://api.roblox.com/Marketplace/ProductInfo', params={'assetId': assetId})
- r.raise_for_status()
- print('Got template id for: {}'.format(assetId))
- except(requests.exceptions.HTTPError,ValueError):
- print('Could not find template for: {}'.format(assetId))
- else:
- print('Could not find template for: {}'.format(assetId))
- # downloads file to memory for later upload
- file=self.session.get('https://www.roblox.com/asset/', params={'id': assetId})
- self.__upload(name, description, price,file, asset_type, assetId)
- def __upload(self, name, description, price,file, asset_type, assetId):
- r =self.session.get('https://www.roblox.com/build/upload')
- token= r.text.split('name=__RequestVerificationToken type=hidden value=')[-1].split('>')[0]
- # uploads file to Roblox
- data ={'file': ('template.png',file.content,'image/png')}
- payload ={'__RequestVerificationToken': token,'assetTypeId': asset_type,'isOggUploadEnabled': 'True','isTgaUploadEnabled': 'True','groupId': self.group_id,'onVerificationPage': 'False','name': name}
- r =self.session.post('https://www.roblox.com/build/upload', files=data, data=payload)
- asset_id = r.text.split('uploadedAssetId=')[-1].split(' />')[0]
- # gets required fields for post request
- r =self.session.get('https://www.roblox.com/my/item.aspx', params=assets)
- view_state = r.text.split('id='__VIEWSTATE' value=')[-1].split(' />')[0]
- view_gen = r.text.split('id='__VIEWSTATEGENERATOR' value=')[-1].split(' />')[0]
- validation = r.text.split('id='__EVENTVALIDATION' value=')[-1].split(' />')[0]
- payload ={'__EVENTTARGET': 'ctl00$cphRoblox$SubmitButtonBottom','__EVENTARGUMENT': ','__VIEWSTATE': view_state,'__VIEWSTATEGENERATOR': view_gen,'__EVENTVALIDATION': validation,'ctl00$cphRoblox$NameTextBox': name,'ctl00$cphRoblox$DescriptionTextBox': description,'ctl00$cphRoblox$SellThisItemCheckBox': 'on','ctl00$cphRoblox$SellForRobux': 'on','ctl00$cphRoblox$RobuxPrice': price,'ctl00$cphRoblox$EnableCommentsCheckBox': 'on','GenreButtons2': '1','ctl00$cphRoblox$actualGenreSelection': '1'}
- self.session.post('https://www.roblox.com/my/item.aspx', params=assets, data=payload)
- print('Successfully Uploaded: {}'.format(assetId))
- if __name__ '__main__':
- bot = RobloxBot(group_id='GROUP ID')
- bot.login(username='USERNAME', password='PASSWORD')
- # starts collecting shirts on page one with a wait time of 10 seconds
- bot.get_shirts(starting_page=100, category='12', wait=3)
Roblox follower bot 2020roblox follower bot no cookies 2020roblox followersroblox free follower bot 2020roblox new follower bot 2020roblox. Free Roblox Followers Bot Home; By Mitzie Toler Jumat, 22 Mei 2020 Free Hair Roblox Codes. Download Roblox Hack Apk Free descr. Blog Archive 2020 (655) Mei (79) Free Hair Roblox Codes; Roblox Id Home With You; Codes For Roblox Slaying Simulator 2019; Roblox How To Get Free Robux With Inspect Element.
Roblox Visit Bot Download
Feb 5th, 2015
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- //run it by changing the user ID in the next line, going to a ROBLOX page and copying and pasting this into the F12 console
- function httpGet(theUrl)
- var xmlHttp =null;
- xmlHttp =new XMLHttpRequest();
- xmlHttp.send(null);
- }
- alert('When this is finished, it will open another alert saying done. It will take a while depending on the number of people you follow');
- var url ='http://www.roblox.com/user/Followings?DisplayedUserID='+userid+'&PageNum=1';
- while(runningtrue){
- response.innerHTML= httpGet(url);
- var friends = response.getElementsByClassName('friend-name');
- for(i=0; i<friends.length; i+=1){
- //alert(friends.getElementsByTagName('a').length);
- var friendlink = friends[i].getElementsByClassName('text-link')[0].href;
- xmlhttp.open('POST','http://www.roblox.com/user/unfollow',true);
- xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded');
- xmlhttp.send('targetUserId='+friendlink.substring(35));
- }else{
- }
- alert('Done! ~PTK');
- //For any further info contact me on ROBLOX as PeteyK473 or Twitter @PTK473