How the Cycle Works
Every configured interval, the system runs through this sequence:- Enumerate all open Roblox windows
- 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
- Restore the original foreground window after the full cycle completes
Input is simulated using Win32
keybd_event — not SendMessage. The window must be briefly in the foreground for input to register correctly. Botify handles this automatically.Action Types
Interval Options
User-Safe Mode
When User-Safe Mode is enabled, the Anti-AFK engine checks for recent user activity before acting:- Uses Win32
GetLastInputInfo/LASTINPUTINFOto 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:- Sample a pixel at the expected kick dialog screen position
- Check if the pixel color matches
RGB(57, 59, 61)— the Roblox kick dialog background - If matched → calculate the Reconnect button position → click with a randomized offset