├── LICENSE ├── README.md └── main.py /LICENSE: -------------------------------------------------------------------------------- 1 | Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) 2 | 3 | This is a human-readable summary of (and not a substitute for) the license. Disclaimer. 4 | 5 | You are free to: 6 | 7 | Share — copy and redistribute the material in any medium or format 8 | 9 | Adapt — remix, transform, and build upon the material 10 | 11 | The licensor cannot revoke these freedoms as long as you follow the license terms. 12 | 13 | Under the following terms: 14 | 15 | Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 16 | 17 | NonCommercial — You may not use the material for commercial purposes. 18 | 19 | No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. 20 | 21 | Notices: 22 | 23 | You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation. 24 | 25 | No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material. 26 | 27 | Read the full license here: https://creativecommons.org/licenses/by-nc/4.0/legalcode 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 😱 Video Announcement 2 | - This was made when I was really retarded at coding :pray: the code sucks and people do still skid this code, I do not update this anymore ^^ 3 | - dont believe anyone using this code, it works and gets everything pretty much right at low multipliers but it is not guaranteed. 4 | 5 | # 🚀 Bloxflip Crash Predictor 6 | - Accurate Bloxflip Crash Predictor 7 | - Do Not Skid 8 | - Enjoy 9 | - First Nonskidded Crash Predictor 10 | 11 | # ⭐ Discord 12 | - _bleed 13 | 14 | # 📃 Changelogs 15 | - Risky Bet Isn't +1 The Prediction Now 16 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import discord 2 | from discord.ext import commands 3 | import numpy as np 4 | import statistics 5 | import cloudscraper 6 | 7 | bot = commands.Bot(command_prefix="?", intents=discord.Intents.default()) 8 | 9 | s = cloudscraper.create_scraper(browser={'custom': 'ScraperBot/1.0'}) 10 | 11 | def crashPoint(num): 12 | info = s.get('https://rest-bf.blox.land/games/crash').json()['history'][num]['crashPoint'] 13 | return info 14 | 15 | @bot.tree.command(name='crash', description='Predict The Crash Gamemode On Bloxflip Accurate') 16 | async def crash(interaction): 17 | one = crashPoint(0) 18 | two = crashPoint(1) 19 | three = crashPoint(2) 20 | four = crashPoint(3) 21 | five = crashPoint(4) 22 | #six = crashPoint(5) 23 | #seven = crashPoint(6) 24 | #eight = crashPoint(7) 25 | #nine = crashPoint(8) 26 | #ten = crashPoint(9) 27 | if "{:.2f}".format(one + two + three) < "3.50": 28 | risk = "(Unstable Prediction)" 29 | else: 30 | risk = "" 31 | pst10 = [one, two, three, four, five] 32 | average = sum(pst10) / len(pst10) 33 | std_dev = statistics.stdev(pst10) 34 | average_c = np.mean(average) 35 | std_dev_c = np.std(std_dev) 36 | prediction = (2 / (average_c - std_dev_c) / 2) 37 | prediction = prediction + 1 38 | risky = (4 / (average_c - std_dev_c) / 7) 39 | risky = risky + prediction 40 | prediction = "{:.2f}".format(prediction) 41 | risky = "{:.2f}".format(risky) 42 | em = discord.Embed(color=15844367) 43 | em.add_field(name="` ⭐ ` Prediction", value=f"> {prediction}x {risk}", inline=False) 44 | em.add_field(name="` ⭐ ` Last Games", value=f"> {one}x, {two}x, {three}x", inline=False) 45 | em.add_field(name="` ⭐ ` Risky Bet", value=f"> {risky}x", inline=False) 46 | em.add_field(name="` ⭐ ` Credits", value="> bleed#5555", inline=False) 47 | await interaction.response.send_message(embed=em) 48 | 49 | bot.run("yourtoken") 50 | --------------------------------------------------------------------------------