Jan 16th, 2015
Press Show More Boku no Roblox: Remastered (OP GUI SCRIPT HACK ) ↪Join Diego Exploits Fan Server: ↪My Website (Contains Scripts & Exploits): https://diegoexploitz.
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- !!! I am not responsible if you get banned in any way for this. Use this at your own risk. !!!
- !!!!! Please do NOT mess with the speed in the code! Leave it at 1000 for best results! If you make it too fast like 100 it can't even put in the code or redeem it! 500 works good if you have a faster computer !!!!!
- !!! I added more code to the bot so that you don't have to edit the code to change the speed. I still do NOT recommend anything below 1000 for slower computers! !!!
- Alright, threads on the forum are starting to pop up saying that their cards aren't working. Since I released this bot I'm 100% not going to reveal my ROBLOX username now. It is suggested that you use an alt, and maybe a VPN just to be sure. Thank you for the vouches everyone!
- Hi v3rmillion! I wanted to make another contribution, but I didn't know what to make. So I made this simple little bot that basically generates a random ROBLOX card pin and clicks the button. Since the pin generated is almost completely random, there is a small chance you'll find a real pin and if you do there is a larger chance it will say 'This card has not been registered,' which essentially means that someone has to buy the card before you use it. Some people just buy cards and leave them around, so there is another chance you'll find one of those.
- You have to be on the gamecard page, http://www.roblox.com/Gamecard. It's kind of useless, but I guess it's something. =)
- If you don't know how to run it, you hit F12 on the gamecard page and click on the 'Console' tab. Or for a keyboard shortcut, just press Ctrl + Shift + J. Then paste it in there and hit enter.
- Here's the code:
- alert('Bot by cdskl loaded');
- var speed = prompt('Please enter a speed to enter cards.','Put 1000 for 1 second. Below 1000 not recommended if you have a slow computer!')
- var key = ((nums[Math.floor(Math.random() * nums.length)].toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- var key2 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- var key3 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- document.getElementById('pin').value = code;
- }
- setInterval(function() {
- }, speed);
- If you are too lazy to enter the speed everytime:
- var nums = [6, 7]
- function main() {
- var key = ((nums[Math.floor(Math.random() * nums.length)].toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- var key2 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- var key3 = ((Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()) + (Math.floor((Math.random() * 10)).toString()));
- document.getElementById('pin').value = code;
- }
- setInterval(function() {
- }, 500);
Apr 27th, 2017
Roblox News Bot
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
Roblox Game Join Bot
- 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)