Advertisement
b_i_l_l_y

AYY_LMAO

Jul 19th, 2019
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.90 KB | None | 0 0
  1. # Made by Tricksyz#6969
  2.  
  3. import random
  4. import os
  5. import string
  6.  
  7. os.system('color 0c')
  8. print """ /$$$$$$$  /$$            /$$$$$$                  /$$          
  9. | $$__  $$|__/           /$$__  $$                | $$          
  10. | $$  \ $$ /$$  /$$$$$$$| $$  \__/  /$$$$$$   /$$$$$$$  /$$$$$$
  11. | $$  | $$| $$ /$$_____/| $$       /$$__  $$ /$$__  $$ /$$__  $$
  12. | $$  | $$| $$|  $$$$$$ | $$      | $$  \ $$| $$  | $$| $$$$$$$$
  13. | $$  | $$| $$ \____  $$| $$    $$| $$  | $$| $$  | $$| $$_____/
  14. | $$$$$$$/| $$ /$$$$$$$/|  $$$$$$/|  $$$$$$/|  $$$$$$$|  $$$$$$$
  15. |_______/ |__/|_______/  \______/  \______/  \_______/ \_______/
  16.                                                                """
  17. print """  _____    _    _                 _ _    __ ___  __ ___
  18. |_   _| _(_)__| |__ ____  _ ____| | |_ / // _ \/ // _  \
  19.  
  20.   | || '_| / _| / /(_-< || |_ /_  .  _/ _ \_, / _ \_, /
  21.   |_||_| |_\__|_\_\/__/\_, /__|_     _\___//_/\___//_/
  22.                        |__/     |_|_|                  """
  23. print ""
  24. print ""
  25. print "Welcome to DisCode, a Discord code generator."
  26. print "What kind of code do you want to generate?"
  27. print "1 = Nitro code"
  28. print "2 = Game code"
  29. print "3 = Discord Token"
  30. codetype = input(">> ")
  31. if codetype == 1:
  32.     print ""
  33.     print ""
  34.     print "How many codes do you want to generate? 100k is recommended"
  35.     codeamount = input(">> ")
  36.     print "Okay. Do you want discord.gift before each code?"
  37.     print "1 = Yes"
  38.     print "0 = No"
  39.     discordgift = input (">> ")
  40.     if discordgift == 1:
  41.         print "Generating "+str(codeamount)+" codes. Please wait..."
  42.         codes = open("nitro.txt","w+")
  43.         for _ in range(codeamount):
  44.             codes.write("https://discord.gift/" + "".join(random.choice(string.ascii_letters + string.digits) for i in range(16)) + "\n")
  45.         codes.close()
  46.         print "All codes successfully saved to nitro.txt! Press enter to exit."
  47.         input("")
  48.     elif discordgift == 0:
  49.         print "Generating "+str(codeamount)+" codes. Please wait..."
  50.         codes = open("nitro.txt","w+")
  51.         for _ in range(codeamount):
  52.             codes.write("".join(random.choice(string.ascii_letters + string.digits) for i in range(16)) + "\n")
  53.         codes.close()
  54.         print "All codes successfully saved to nitro.txt! Press enter to exit."
  55.         input("")
  56. elif codetype == 2:
  57.     print ""
  58.     print ""
  59.     print "How many codes do you want to generate? 100k is recommended."
  60.     codeamount = input(">> ")
  61.     print "Okay. Do you want discord.gift before each code?"
  62.     print "1 = Yes"
  63.     print "0 = No"
  64.     discordgift = input (">> ")
  65.     if discordgift == 1:
  66.         print "Generating "+str(codeamount)+" codes. Please wait..."
  67.         codes = open("games.txt","w+")
  68.         for _ in range(codeamount):
  69.             codes.write("https://discord.gift/" + "".join(random.choice(string.ascii_letters + string.digits) for i in range(25)) + "\n")
  70.         codes.close()
  71.         print "All codes successfully saved to games.txt! Press enter to exit."
  72.         input("")
  73.     elif discordgift == 0:
  74.         print "Generating "+str(codeamount)+" codes. Please wait..."
  75.         codes = open("games.txt","w+")
  76.         for _ in range(codeamount):
  77.             codes.write("".join(random.choice(string.ascii_letters + string.digits) for i in range(25)) + "\n")
  78.         codes.close()
  79.         print "All codes successfully saved to games.txt! Press enter to exit."
  80.         input("")
  81. elif codetype == 3:
  82.     print ""
  83.     print ""
  84.     print "How many tokens do you want to generate? 50k is recommended."
  85.     codeamount = input(">> ")
  86.     print "Generating "+str(codeamount)+" tokens. Please wait..."
  87.     codes = open("tokens.txt","w+")
  88.     for _ in range(codeamount):
  89.         codes.write("".join(random.choice(string.ascii_letters + string.digits) for i in range(3)) + "." + "".join(random.choice(string.ascii_letters + string.digits) for i in range(13)) + "-" + "".join(random.choice(string.ascii_letters + string.digits) for i in range(11)) + "_" + "".join(random.choice(string.ascii_letters + string.digits) for i in range(58)) + "\n")
  90.     codes.close()
  91.     print "All codes successfully saved to tokens.txt! Press enter to exit."
  92.     input("")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement