Skip to content

Agzes/AntiAFK-RBX-Sober

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Go To AntiAFK-RBX for windows Download Now

AntiAFK-RBX-Sober by Agzes v.3.1

Got ideas to add? Want to support? Bug? Write issue!


Anti-AFK application specifically designed for Sober (Roblox on Linux). Currently focused on Hyprland environment (using "Swapper" mode).

✨ Features

  • 🧠 Smart window management: The program switches focus, performs an action, and returns the cursor to its original position.
  • ⏰ AFK Actions: Jump (Space), Walk (W/S), or Camera Zoom (I/O).
  • ⏯️ Auto-Start/Stop: Automatically enables when Sober is detected and disables once the game is closed.
  • πŸ›‘οΈ User-Safe: Pauses actions if user activity (mouse movement or key presses) is detected.
  • 🎯 FPS Capper: Limits CPU resource consumption of background game processes via systemd CPUQuota. [BETA]
  • πŸ”„ Auto Reconnect: Automatically clicks the "Reconnect" button on disconnect (uses grim for pixel analysis). [BETA]
  • πŸ₯· Stealth Mode: Ability to run the game in "hidden" mode (Special Workspace in Hyprland) during action execution.
  • πŸ“₯ Tray: Convenient control and status indication via the tray (powered by ksni).

πŸ“₯ Installation

AppImage (binary)

  • AppImage: Download the latest version from the Releases page. (run chmod +x AntiAFK-RBX-Sober-vX.Y.Z.AppImage and then ./AntiAFK-RBX-Sober-vX.Y.Z.AppImage and see Usage)

AUR (auto-build)

yay -S antiafk-rbx-sober

or

paru -S antiafk-rbx-sober 

πŸš€ After install & usage

1. uinput Permissions

The program requires write access to /dev/uinput to simulate input. The application includes a "FIX" button in the Compatibility section that sets this up automatically (requires sudo password).

But you can unlock it manually using (resets after reboot):

sudo chmod 666 /dev/uinput

Or create a udev rule (recommended, will be applied after reboot):

echo 'KERNEL=="uinput", MODE="0666"' | sudo tee /etc/udev/rules.d/99-uinput-antiafk.rules
sudo udevadm control --reload-rules && sudo udevadm trigger

2. Register Application (Desktop)

don't need if you install via AUR

To add the application to your system menu, run the binary with the --install flag:

./AntiAFK-RBX-Sober --install

This will automatically:

  • Create a .desktop entry in ~/.local/share/applications/.
  • Install the application icon to ~/.local/share/icons/.

3. Runtime Dependencies

  • General: pgrep, systemd (for FPS Capper).
  • Hyprland: grim (for "Auto Reconnect").
  • KDE Plasma: spectacle (for "Auto Reconnect") and qdbus/qdbus6 (for focus management, basically pre-installed on KDE).

πŸ“¦ Build

Prerequisites

You will need Rust, GTK4, and libdbus development libraries installed on your system.

Building from Source

  1. Install Rust.

  2. Install build-time dependencies:

    • Ubuntu/Debian: sudo apt install build-essential libgtk-4-dev libdbus-1-dev pkg-config
    • Arch Linux: sudo pacman -S --needed base-devel gtk4 pkg-config
    • Fedora: sudo dnf install gtk4-devel dbus-devel gcc pkg-config
  3. Clone the repository:

    git clone https://github.com/Agzes/AntiAFK-RBX-Sober.git
    cd AntiAFK-RBX-Sober
  4. Build the project:

    cargo build --release
  5. Run the binary:

    ./target/release/AntiAFK-RBX-Sober

The compiled binary will be located at target/release/AntiAFK-RBX-Sober.

πŸ—‘οΈ Correct uninstall

AppImage:

  1. Remove ~/.local/share/applications/dev.agzes.antiafk-rbx-sober.desktop
  2. Remove the AppImage file.

AUR:

  1. Run yay -Rns antiafk-rbx-sober or paru -Rns antiafk-rbx-sober

⚠️ Important Note

Currently program support only Hyprland and KDE Plasma 6 (with AntiAFK-RBX-Sober v.0.2.0). Support for other environments (GNOME, NIRI, X11) is planning.


With ❀️ by Agzes
pls ⭐ project!

About

πŸ“”β€’ Anti-AFK for Sober (roblox for linux) β€’ The best program for AntiAFK for Sober (roblox). Or just Sober Anti-AFK. | tags: antiafk, roblox, anti afk, anti-afk, rbx, anit afk for sober, sober. | OS: Linux

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages