This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.py
66 lines (51 loc) · 1.77 KB
/
Main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import json
import pyfiglet
import requests
import os
from dotenv import load_dotenv
load_dotenv()
with open('config.json') as config:
config = json.load(config)
if config['ENV'] == True :
cookies = os.getenv("ROBLOSECURITY")
else :
cookies = config['cookie']
def LoginAs():
session = requests.Session()
session.cookies['.ROBLOSECURITY'] = cookies
UserName = session.get('https://www.roblox.com/my/settings/json').json()['Name']
UserId = session.get('https://www.roblox.com/my/settings/json').json()['UserId']
print("Login As (.ROBLOSECURITY) : "+UserName+" | "+str(UserId))
if cookies == "YOUR_.ROBLOSECURITY_HERE" :
print("Can't login , Please edit .ROBLOSECURITY cookie first")
else :
LoginAs()
def toascii(text):
ascii_art = pyfiglet.figlet_format(text,font="standard")
print(ascii_art)
gentext = "RBLX LtdBY"
toascii(gentext)
print("Python Limited Buyer [By : FujaTyping]")
print("0. Edit config.json\n1. DankoOfficial\n2. Zentred [Working]\n3. FujaTyping Custom [Working]\n")
Want = int(input("Enter number : "))
if Want == 0 :
print("You select : Edit config.json\n")
print("Edit cookie [JSON]")
Cookie = input("Enter .ROBLOSECURITY cookie : ")
with open('config.json', 'r') as file:
data = json.load(file)
data['cookie'] = Cookie
with open('config.json', 'w') as file:
json.dump(data, file, indent=4)
print("\nUpdate .ROBLOSECURITY cookie finish")
elif Want == 1 :
print("You select : DankoOfficial\n")
exec(open("DankoOfficial.py").read())
elif Want == 2 :
print("You select : Zentred\n")
exec(open("Zentred.py").read())
elif Want == 3 :
print("You select : FujaTyping Custom\n")
exec(open("FujaTyping.py").read())
else :
print("Please select number 0 or 1 or 2 or 3")