The roblox-tool is a Python-based utility designed to enhance gameplay automation for Roblox by enabling functionalities such as Anti-AFK, Proximity Prompt Spam, and Auto-Clicker. This tool leverages the dearpygui library for a graphical user interface (GUI) to facilitate quick configuration of these automation features.
-
Anti-AFK:
- Spin camera to make it appear as if you’re active.
- Move around randomly within the game.
- Perform emotes (dance, wave, etc.).
- Clicking to keep your character active.
- Jumping to avoid being kicked for inactivity.
-
Proximity Prompt Spam:
- Automatically press a specified key (e.g., "E") repeatedly to activate proximity prompts.
-
Auto Clicker:
- Perform automated mouse clicks at a specified interval.
- Optionally repeat until stopped or for a fixed number of clicks.
-
Clone or download the repository:
git clone https://github.com/yourusername/roblox-tool.git cd roblox-tool -
Install the necessary libraries:
pip install pydirectinput dearpygui json
-
Run the main application:
python main.py
-
Configure settings in the GUI:
- Anti-AFK: Use the
Toggle bindfield to activate this feature. Check boxes forSpin camera,Move around,Chat emotes,Clicking, andJumpingas needed. - Proximity Prompt Spam: Set the
Letterand thePP durationtime interval. - Auto Clicker: Adjust
Click interval,Repeat X times, and chooseRepeat until stoppedif desired. - Click on the
Save configbutton to persist settings across sessions.
- Anti-AFK: Use the
-
Use defined keyboard shortcuts (configured in
config.json) to toggle features:- Anti-AFK: Default is
home - Proximity Prompt Spam: Default is
end - Auto Clicker: Default is
insert
- Anti-AFK: Default is
-
The tool will alert you when a configuration is successfully saved or loaded through an on-screen message.
The default configuration values are provided in config.json:
{
"antiafk-spin": false,
"antiafk-move": false,
"antiafk-emotes": false,
"antiafk-click": false,
"antiafk-jump": false,
"pp-letter": "E",
"pp-duration": 1.0,
"sleep-interval": 1.0,
"always-on-top": false,
"autoclicker-interval": 0.1,
"autoclicker-repeat": 10,
"autoclicker-toggle-bind": "insert",
"antiafk-toggle-bind": "home",
"pp-toggle-bind": "end"
}- The tool saves and loads configurations automatically. You can manually save or load the configuration through buttons within the GUI.
- Anti-AFK Toggle:
home - Proximity Prompt Spam Toggle:
end - Auto-Clicker Toggle:
insert
Technical Overview
- The tool uses
pydirectinputto simulate mouse and keyboard actions. dearpyguiprovides the graphical user interface.- All automation operations run on separate threads to avoid blocking the main UI.
- If you encounter issues loading the configuration, ensure that
config.jsonexists or has default values. - If the application freezes or behaves unexpectedly, restarting the application or rechecking configurations might resolve the issue.