# Unexis Anti-Speed Boost
A comprehensive FiveM script designed to detect and prevent speed exploits, specifically targeting aim-spam speed boosting techniques commonly used by cheaters. This is a **standalone** version that works independent of any framework.
## 📋 Features
- **Aim-Spam Detection**: Detects rapid aim toggling combined with high speed movement
- **Standalone**: Works without any framework dependencies (QBCore, ESX, etc.)
- **ox_lib Integration**: Uses ox_lib for modern notifications
- **Configurable Punishments**: Choose between kicks, bans, and ragdoll effects
- **Discord Logging**: Optional webhook logging for admin monitoring
- **Multiple Detection Methods**: Choose between advanced and simple detection algorithms
- **Warning System**: Progressive punishment system with warnings before kicks
- **Vehicle Exclusion**: Only monitors players on foot to avoid false positives
- **Debug Mode**: Built-in debugging for testing and troubleshooting
- **Permission System**: Admin commands with ACE permission support
## 📊 How It Works
1. **Monitoring**: The script continuously monitors player movement and aim states
2. **Detection**: When rapid aim toggling is combined with high speed movement, it triggers
3. **Progressive Punishment**:
- First detection: Ragdoll + warning message
- Second detection: Ragdoll + warning message
- Third detection: Player is kicked from the server
4. **Logging**: All detections are logged to console and optionally to Discord
## 🚨 Detection Criteria
The script will trigger when **BOTH** conditions are met:
- Player toggles aim more than `Config.AimSpamThreshold` times per second
- Player speed exceeds `Config.MaxSpeed` while aim-spamming
This dual-condition approach minimizes false positives while effectively catching the specific exploit.
## 📋 Dependencies!
- **ox_lib**
- **No framework required** - This is a standalone script that works with any setup
- 0.00 Resmon usage
VIDEO : https://youtu.be/h4-ycEtsDIw