An intelligent auto-clicker specifically designed for Roblox digging minigames. This script uses advanced computer vision to detect the optimal clicking moments and automatically performs precise clicks at 250+ FPS for ultra-responsive gameplay.
Real-time computer vision detection with target highlighting and click prediction
๐ฅ Demo Video: See the script in action with live detection and automatic clicking!
- Advanced Computer Vision: Uses OpenCV for real-time target detection
- Multiple Detection Methods: Color segmentation, edge detection, and local contrast analysis
- Intelligent Target Recognition: Automatically finds the optimal clicking zones
- 250+ FPS Detection: Optimized for 240Hz+ gaming monitors
- Zero-Delay Clicking: Instant mouse movement and clicking (0ms cooldown)
- Aggressive Target Detection: 50% larger hit zones for maximum success rate
- Center-Point Targeting: Clicks exactly at the center of detected target areas
- Instant Mouse Teleportation: No movement animation delays
- Real-time Visual Feedback: Shows exactly where clicks will occur
- F1 Hotkey Toggle: Easy on/off switching during gameplay
- Screenshot Selection Tool: Simple click-and-drag area selection
- Live Preview Mode: See detection in real-time before activating
- Detailed Statistics: Track performance and click accuracy
- Python 3.7 or higher
- Windows 10/11 (recommended)
-
Clone the repository
git clone https://github.com/kokixzz/RobloxDigScript.git cd RobloxDigScript -
Install required packages
pip install -r requirements.txt
-
Run the script
python movement_clicker.py
- Launch the Script: Run
python movement_clicker.py - Select Target Area: Click "๐ SELECT BAR AREA" and drag around the minigame bar
- Preview Mode: The script will show real-time detection with visual feedback
- Start Auto-Clicking: Press
F1to begin automatic clicking - Monitor Performance: Watch the live preview and statistics
- Stop Auto-Clicking: Press
F1again to stop
- ๐ข Green Border: Script will click (target detected)
- ๐ด Red Circle: Exact click location
- ๐ Statistics Panel: Real-time performance metrics
The script is pre-configured for optimal performance:
- Detection Rate: 250 FPS (4ms intervals)
- Click Cooldown: 0ms (instant clicking)
- Movement Threshold: 200 (sensitive detection)
- Target Tolerance: 50% expanded hit zones
You can modify these settings in movement_clicker.py:
self.movement_threshold = 200 # Detection sensitivity
self.click_cooldown = 0.0 # Click delay (0 = instant)
time.sleep(0.004) # Detection FPS (0.004 = 250 FPS)- Fail-Safe Disabled: For uninterrupted gaming performance
- Exception Handling: Robust error recovery
- Memory Efficient: Optimized for long gaming sessions
- Thread-Safe: Stable multi-threaded operation
| Feature | Specification |
|---|---|
| Detection Rate | 250+ FPS |
| Click Latency | <1ms |
| Target Accuracy | 95%+ hit rate |
| Memory Usage | <50MB |
| CPU Usage | <5% (modern CPUs) |
Optimized for Roblox digging minigames, including:
- Mining simulators
- Excavation games
- Timing-based digging mechanics
- Bar-following challenges
Script not detecting targets:
- Ensure the selected area includes the entire minigame bar
- Try adjusting the
movement_thresholdvalue - Check that the game window is visible and unobstructed
Clicks not registering:
- Verify Roblox window is active and focused
- Check Windows mouse settings for acceleration
- Ensure no other mouse software is interfering
Performance issues:
- Close unnecessary applications
- Update graphics drivers
- Reduce detection FPS if needed (increase
time.sleepvalue)
RobloxDigScript/
โโโ movement_clicker.py # Main script file
โโโ requirements.txt # Python dependencies
โโโ README.md # Project documentation
โโโ templates/ # Template images for detection
โ โโโ bar.png
โ โโโ custom_bar.png
โ โโโ custom_needed_area.png
โ โโโ needed_area.png
โ โโโ slider.png
โโโ demo.gif # Demo video (add your own)
Contributions are welcome! Please feel free to:
- Fork the repository
- Create a feature branch
- Make your improvements
- Submit a pull request
This tool is created for educational purposes and personal use. Please ensure compliance with:
- Roblox Terms of Service
- Game-specific rules and regulations
- Fair play guidelines
Use responsibly and respect other players' gaming experience.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenCV Community - For computer vision capabilities
- PyAutoGUI Developers - For mouse automation functionality
- Python Community - For the amazing ecosystem
Made with โค๏ธ for the Roblox gaming community
Star โญ this repository if you found it helpful!