Skip to main content
Botify’s Anti-AFK system (based on AntiAFK-RBX v3.2.1) cycles through every open Roblox window at a configurable interval, simulating player input to prevent idle kicks. It works across all running instances simultaneously and integrates Auto-Reconnect to handle disconnects automatically.

How the Cycle Works

Every configured interval, the system runs through this sequence:
  1. Enumerate all open Roblox windows
  2. For each window (in order):
    • Bring the window to the foreground
    • Perform the configured action 3 times
    • Restore the window to its previous state (minimized if it was minimized)
    • Apply stagger delay before moving to the next window
  3. Restore the original foreground window after the full cycle completes
Input is simulated using Win32 keybd_eventnot SendMessage. The window must be briefly in the foreground for input to register correctly. Botify handles this automatically.

Action Types


Interval Options

ERLC’s default idle kick timer is approximately 20 minutes. A 9-minute interval is safe for most servers with comfortable headroom.

User-Safe Mode

When User-Safe Mode is enabled, the Anti-AFK engine checks for recent user activity before acting:
  • Uses Win32 GetLastInputInfo / LASTINPUTINFO to read the system’s last input timestamp
  • If the user has been active (keyboard or mouse) within a short window, the cycle is deferred
  • Prevents Botify from stealing your foreground window while you’re working

Auto-Reconnect

When enabled, Auto-Reconnect checks each Roblox window for a disconnect/kick dialog before performing the Anti-AFK action: Detection method:
  1. Sample a pixel at the expected kick dialog screen position
  2. Check if the pixel color matches RGB(57, 59, 61) — the Roblox kick dialog background
  3. If matched → calculate the Reconnect button position → click with a randomized offset
Auto-Reconnect requires the Roblox window to be briefly visible (not minimized) for pixel sampling. Botify handles this during the Anti-AFK cycle automatically.

Force Jump

The Force Jump All Windows button (available in Developer Mode) instantly sends a jump input to all open Roblox windows — regardless of the current interval timer. Useful for manually resetting idle states or testing.

Stats Tracking

The Anti-AFK system maintains live counters (visible in the Run Monitor panel):

Configuration Reference