Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #made by Jake#4626
- import requests, os
- from threading import Thread
- writedata = []
- threads = []
- def AccountChecker(username):
- API = requests.get("https://www.roblox.com/UserCheck/DoesUsernameExist?username={}".format(username)).json()
- if not API["success"]:
- print("{} : Not taken \n".format(username))
- writedata.append(username + " : Not taken \n")
- else:
- print("{} : Taken \n".format(username))
- writedata.append(username + " : Taken \n")
- os.chdir(os.path.dirname(__file__))
- with open("names.txt", "r") as txt:
- for line in txt:
- newThread = Thread(target=AccountChecker, args=(line.strip("\n"),)); newThread.start()
- threads.append(newThread)
- for thread in threads:
- thread.join()
- with open("names.txt", "w") as txt:
- txt.write("[Made by Jake #4626] \n")
- txt.writelines(writedata)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement