AFK Auto Rejoin System – Roblox Player Reconnection System
The AFK Auto Rejoin System detects player inactivity across keyboard, mouse, touch, and gamepad inputs. It includes a configurable countdown interface with fade and blur transitions before attempting to reconnect the player.
The system attempts to rejoin the same server up to three times before falling back to any available server for up to two additional attempts. It also supports restoring the player's previous position and rotation after rejoining, using temporary, validated restore data.
A central Config module controls the system's settings. Additional safeguards include server-side request debouncing, expiration of restore data after five minutes, validation of restored positions, and a cooldown-based retry process if all reconnection attempts fail. The Luau code is typed, modular, commented, and unobfuscated.
KEY FEATURES
- Automatic idle detection using keyboard, mouse, touch, and gamepad input
- Gamepad thumbstick deadzone handling to prevent stick drift from being treated as player activity
- Countdown screen displayed before the automatic rejoin process begins
- Fade and blur transitions for the countdown interface
- Customizable countdown text and settings through the configuration module
- Same-server rejoin attempts with up to three attempts before fallback
- Automatic fallback to another available server with up to two additional attempts
- Restoration of the player's previous position after a successful rejoin
- Restoration of the player's previous rotation using saved restore data
- Five-minute expiration limit for temporary player restoration data
- Validation of saved restoration values before applying them
- Rejection of invalid values and out-of-bounds restoration positions
- Failure handling that allows the player to remain in the game if all rejoin attempts fail
- Automatic re-arming of the system after a cooldown following unsuccessful attempts
- Server-side request debouncing to limit repeated requests from the same player
- Centralized Config module for managing system settings
- Typed Luau code with modular organization and comments
- Unobfuscated scripts for easier inspection and customization
- Suitable for Roblox experiences that need automatic reconnection after extended inactivity
Video here
69b2623edf95feac38b22cf8