---
title: "ANTI AFK by Akarameck2009 | Universal Roblox Script - ScriptBlox"
description: "ANTI AFK for any Roblox game: 🟢 Core Features 1.Anti-AFK System 🟢 Prevents Roblox’s AFK detection by simulating user input. 🟢 Two mechanisms: On idle..."
canonical_url: "https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528"
meta:
  "og:description": "ANTI AFK for any Roblox game: 🟢 Core Features 1.Anti-AFK System 🟢 Prevents Roblox’s AFK detection by simulating user input. 🟢 Two mechanisms: On idle..."
  "og:image": "https://scriptblox.com/images/script/0-1759083366628.png"
  "og:title": "ANTI AFK by Akarameck2009 | Universal Roblox Script - ScriptBlox"
  "twitter:description": "ANTI AFK for any Roblox game: 🟢 Core Features 1.Anti-AFK System 🟢 Prevents Roblox’s AFK detection by simulating user input. 🟢 Two mechanisms: On idle..."
  "twitter:image": "https://scriptblox.com/images/script/0-1759083366628.png"
  "twitter:title": "ANTI AFK by Akarameck2009 | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1759083366628.png)

# **ANTI AFK**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Akarameck2009](https://scriptblox.com/images/user-default.png) [Akarameck2009](https://scriptblox.com/u/Akarameck2009)First script**

1 year ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

🟢 Core Features 1.Anti-AFK System 🟢 Prevents Roblox’s AFK detection by simulating user input. 🟢 Two mechanisms: On idle (triggers when Roblox detects inactivity). 🟢 Periodic tick (every 240s by default). 2.Lag Watchdog 🟢 Monitors delay between frames (dt). 🟢 If delay exceeds threshold (default 0.6s), increments a lag counter. 🟢 When lag counter exceeds limit: 🟢 Action = None → does nothing. 🟢 Action = Respawn → reloads your character. 🟢 Action = Rejoin → rejoins the game or server-hops. 3.Auto Rejoin on Disconnect 🟢 Detects Roblox error popup (e.g., Error 277: Lost connection). 🟢 Attempts to reconnect: 🟢 First, tries same server instance. 🟢 If fails, rejoins the place. 4.Server Hop Support 🟢 Finds a new server with space. 🟢 Useful to escape laggy/empty servers. 🔸 Manual Controls 1.Manual Respawn 🟢 Instantly respawns your character. 🟢 Shows timestamp in three formats: Local, UTC, Bangkok (for reference). 2.Manual Rejoin (Server Hop) 🟢 Rejoins the game manually. 🟢 If ServerHop = true, attempts to find a new server. 🔹 UI & Display 1.RightShift Toggle 🟢 Press RightShift to open/close the menu. 2.Expandable/Collapsible Log 🟢 Expandable/Collapsible Log 3.System Stats Display 🟢Real-time: 🟢 FPS (frames per second). 🟢 CPU usage (approximate). 🟢 RAM usage (MB). 🟢 Ping (ms). 🟢 Session time (minutes in current server).

## **Updates **

1. Sep 28, 2025

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-ANTI-AFK-55528)

```
loadstring(game:HttpGet("https://raw.githubusercontent.com/ZEXT512/AntiAfkXs/refs/heads/main/Anti"))()


```

## **Comments **

**7**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-ANTI-AFK-55528)

![GaksP0wer's profile picture](https://scriptblox.com/images/photo/69ac3e781f961507417d5850-1783417220228.jpg)

[**GaksP0wer**](https://scriptblox.com/u/GaksP0wer)5 months ago

this s!hit is ai

3

![Kar05's profile picture](https://scriptblox.com/images/user-default.webp)

[**Kar05**](https://scriptblox.com/u/Kar05)Lv 64 months ago

[@GaksP0wer](https://scriptblox.com/u/GaksP0wer) \*ody cares buddy, still works

1

![Tranquangvinh2012's profile picture](https://scriptblox.com/images/user-default.webp)

[**Tranquangvinh2012**](https://scriptblox.com/u/Tranquangvinh2012)8 months ago

Make it work for mobile I cant move the gui

2

![huskylovedeutsch's profile picture](https://scriptblox.com/images/user-default.webp)

[**huskylovedeutsch**](https://scriptblox.com/u/huskylovedeutsch)8 months ago

is worked, the best anti afk scirpt ever

2

![Mugen\_Docs's profile picture](https://scriptblox.com/images/photo/675fa50d3bdb1a545c9b060e-1776343792894.png)

[**Mugen\_Docs**](https://scriptblox.com/u/Mugen_Docs)9 months ago

This is a good script ngl

2

![JELLYscript's profile picture](https://scriptblox.com/images/photo/68d8263da33e2c1ba313b8f1-1758996470092.png)

[**JELLYscript**](https://scriptblox.com/u/JELLYscript)1 year ago

Tuff

2

![frvgmxnt's profile picture](https://scriptblox.com/images/photo/68fd0f373eb11c885f5d29c0-1771325388043.jpg)

[**frvgmxnt**](https://scriptblox.com/u/frvgmxnt)Lv 61 month ago

ТЫ СЫН ГОВНА УМРИ БЛЯДОТА ОБРЫГАНАЯ

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528#script","url":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528","name":"ANTI AFK","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Akarameck2009","url":"https://scriptblox.com/u/Akarameck2009"},"datePublished":"2025-09-28T18:16:06.642Z","image":"https://scriptblox.com/images/script/0-1759083366628.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528#webpage","@type":"WebPage","description":"ANTI AFK for any Roblox game: 🟢 Core Features 1.Anti-AFK System 🟢 Prevents Roblox’s AFK detection by simulating user input. 🟢 Two mechanisms: On idle...","name":"ANTI AFK by Akarameck2009 | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-ANTI-AFK-55528#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"ANTI AFK","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
