<filename>py-cookieChecker/main.py
# CONFIG:
thread_count = 100
thread_delay = .1
title_delay = .1
#########
import  time, ctypes, threading, random, ctypes, requests
from colorama import init, Fore
init()

def title():
    while True:
        ctypes.windll.kernel32.SetConsoleTitleW(f"Unknown X: | Valid: {valid}/{len(cookies)} | Invalid: {invalid} | proxies: {len(proxies)}")
        time.sleep(title_delay)

def main():
    global cookie_index
    while cookie_index <= len(cookies):
        global valid
        global invalid
        cookie = cookies[cookie_index]
        cookie_index += 1
        req = requests.Session()
        req.cookies['.ROBLOSECURITY'] = cookie
        try:
            r1 = req.get('http://www.roblox.com/mobileapi/userinfo',proxies={'http': f'http://{random.choice(proxies)}'}).json()
            valid += 1
            print(r1)
        except:
            pass

if __name__ == "__main__":
    ctypes.windll.kernel32.SetConsoleTitleW("Unknown X: ")
    print(Fore.RED + '''
    █    ██  ███▄    █  ██ ▄█▀ ███▄    █  ▒█████   █     █░ ███▄    █    ▒██   ██▒
    ██  ▓██▒ ██ ▀█   █  ██▄█▒  ██ ▀█   █ ▒██▒  ██▒▓█░ █ ░█░ ██ ▀█   █    ▒▒ █ █ ▒░
    ▓██  ▒██░▓██  ▀█ ██▒▓███▄░ ▓██  ▀█ ██▒▒██░  ██▒▒█░ █ ░█ ▓██  ▀█ ██▒   ░░  █   ░
    ▓▓█  ░██░▓██▒  ▐▌██▒▓██ █▄ ▓██▒  ▐▌██▒▒██   ██░░█░ █ ░█ ▓██▒  ▐▌██▒    ░ █ █ ▒ 
    ▒▒█████▓ ▒██░   ▓██░▒██▒ █▄▒██░   ▓██░░ ████▓▒░░░██▒██▓ ▒██░   ▓██░   ▒██▒ ▒██▒
    ░▒▓▒ ▒ ▒ ░ ▒░   ▒ ▒ ▒ ▒▒ ▓▒░ ▒░   ▒ ▒ ░ ▒░▒░▒░ ░ ▓░▒ ▒  ░ ▒░   ▒ ▒    ▒▒ ░ ░▓ ░
    ░░▒░ ░ ░ ░ ░░   ░ ▒░░ ░▒ ▒░░ ░░   ░ ▒░  ░ ▒ ▒░   ▒ ░ ░  ░ ░░   ░ ▒░   ░░   ░▒ ░
    ░░░ ░ ░    ░   ░ ░ ░ ░░ ░    ░   ░ ░ ░ ░ ░ ▒    ░   ░     ░   ░ ░     ░    ░  
    ░              ░ ░  ░            ░     ░ ░      ░             ░     ░    ░                                                                            
                                    cVenge#6836
    ''')
    # Loads Proxies
    proxies = []
    with open('proxies.txt','r') as f:
        for line in f:
            proxies.append(line.rstrip())
    # Loads cookies
    cookies = []
    with open('cookies.txt', 'r') as f:
        for line in f:
            cookies.append(line.rstrip())
    # Sets up threads to be loaded and started
    valid = 0
    invalid = 0
    cookie_index = 0
    threads = []
    # Title Thread:
    x = threading.Thread(target=title)
    threads.append(x)
    # Worker Threads:
    for _ in range(thread_count):
        x = threading.Thread(target=main)
        threads.append(x)

    for x in threads:
        time.sleep(thread_delay)
        x.start()

    for x in threads:
        x.join()
    time.sleep(5)
