GNDIASN / app.py
Peeble's picture
Update app.py
416ca8c verified
import gradio as gr
# Function to generate platform-specific commands for selected hack
def generate_hack_commands(hack_type, platform):
if hack_type == "Speed Hack":
commands = {
"Termux (Android)": """
## Installation and Setup for Termux (Android)
1. Install Termux from the Play Store.
2. Update packages in Termux:
```bash
pkg update && pkg upgrade
pkg install python
pkg install git
pip install --upgrade pip
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
nano roblox_hacks_maker.py
```
4. Paste the script inside the `roblox_hacks_maker.py` file, then save and close.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL shown in Termux.
7. To enable Speed Hack, run this command in the script:
```bash
exploit_injector --speed hack
```
""",
"Windows": """
## Installation and Setup for Windows
1. Install Python from the official [Python website](https://www.python.org/downloads/).
2. Open Command Prompt (CMD) and run:
```bash
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
notepad roblox_hacks_maker.py
```
4. Paste the script into the file and save.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL (usually `http://127.0.0.1:7860`).
7. To enable Speed Hack, run this command in the script:
```bash
loadstring(game:HttpGet('https://www.speedhack.com/script.lua'))()
```
""",
"iOS": """
## Installation and Setup for iOS
1. Install a jailbreaking tool for iOS and ensure your device is jailbroken.
2. Install Python through Cydia (or other package managers).
3. Install the necessary Python packages:
```bash
pip install gradio torch transformers
```
4. Create or clone the Python script (`roblox_hacks_maker.py`).
5. Run the script with:
```bash
python roblox_hacks_maker.py
```
6. To enable Speed Hack, use a jailbreak app to inject the following script:
```bash
loadstring(game:HttpGet('https://www.speedhack.com/script.lua'))()
```
"""
}
elif hack_type == "Aimbot":
commands = {
"Termux (Android)": """
## Installation and Setup for Termux (Android)
1. Install Termux from the Play Store.
2. Update packages in Termux:
```bash
pkg update && pkg upgrade
pkg install python
pkg install git
pip install --upgrade pip
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
nano roblox_hacks_maker.py
```
4. Paste the script inside the `roblox_hacks_maker.py` file, then save and close.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL shown in Termux.
7. To enable Aimbot, run this command in the script:
```bash
loadstring(game:HttpGet('https://www.aimbot.com/script.lua'))()
```
""",
"Windows": """
## Installation and Setup for Windows
1. Install Python from the official [Python website](https://www.python.org/downloads/).
2. Open Command Prompt (CMD) and run:
```bash
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
notepad roblox_hacks_maker.py
```
4. Paste the script into the file and save.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL (usually `http://127.0.0.1:7860`).
7. To enable Aimbot, run this command in the script:
```bash
loadstring(game:HttpGet('https://www.aimbot.com/windows-script.lua'))()
```
""",
"iOS": """
## Installation and Setup for iOS
1. Install a jailbreaking tool for iOS and ensure your device is jailbroken.
2. Install Python through Cydia (or other package managers).
3. Install the necessary Python packages:
```bash
pip install gradio torch transformers
```
4. Create or clone the Python script (`roblox_hacks_maker.py`).
5. Run the script with:
```bash
python roblox_hacks_maker.py
```
6. To enable Aimbot, use a jailbreak app to inject the following script:
```bash
loadstring(game:HttpGet('https://www.aimbot.com/ios-script.lua'))()
```
"""
}
elif hack_type == "Fly Hack":
commands = {
"Termux (Android)": """
## Installation and Setup for Termux (Android)
1. Install Termux from the Play Store.
2. Update packages in Termux:
```bash
pkg update && pkg upgrade
pkg install python
pkg install git
pip install --upgrade pip
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
nano roblox_hacks_maker.py
```
4. Paste the script inside the `roblox_hacks_maker.py` file, then save and close.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL shown in Termux.
7. To enable Fly Hack, run this command in the script:
```bash
loadstring(game:HttpGet('https://www.flyhack.com/script.lua'))()
```
""",
"Windows": """
## Installation and Setup for Windows
1. Install Python from the official [Python website](https://www.python.org/downloads/).
2. Open Command Prompt (CMD) and run:
```bash
pip install gradio torch transformers
```
3. Clone the repository or create the Python script:
```bash
notepad roblox_hacks_maker.py
```
4. Paste the script into the file and save.
5. Run the script:
```bash
python roblox_hacks_maker.py
```
6. Access the interface in your browser by visiting the local server URL (usually `http://127.0.0.1:7860`).
7. To enable Fly Hack, run this command in the script:
```bash
loadstring(game:HttpGet('https://www.flyhack.com/windows-script.lua'))()
```
""",
"iOS": """
## Installation and Setup for iOS
1. Install a jailbreaking tool for iOS and ensure your device is jailbroken.
2. Install Python through Cydia (or other package managers).
3. Install the necessary Python packages:
```bash
pip install gradio torch transformers
```
4. Create or clone the Python script (`roblox_hacks_maker.py`).
5. Run the script with:
```bash
python roblox_hacks_maker.py
```
6. To enable Fly Hack, use a jailbreak app to inject the following script:
```bash
loadstring(game:HttpGet('https://www.flyhack.com/ios-script.lua'))()
```
"""
}
else:
commands = "No commands available for this hack type."
return commands.get(platform, "No commands available for this platform.")
# Gradio interface to select hack and platform
def create_interface():
hack_types = ["Speed Hack", "Aimbot", "Fly Hack"]
platforms = ["Termux (Android)", "Windows", "iOS"]
# Create the Gradio interface
interface = gr.Interface(
fn=generate_hack_commands,
inputs=[
gr.Dropdown(choices=hack_types, label="Select Hack Type"),
gr.Dropdown(choices=platforms, label="Select Platform")
],
outputs="text",
live=True,
title="Roblox Hacks Maker - Commands",
description="Select a hack type and platform to view the corresponding commands for Roblox hacks."
)
return interface
# Launch the interface
if __name__ == "__main__":
create_interface().launch()