---
title: "UNIVERSAL Anti AFK by itz__r4m_ | Universal Roblox Script - ScriptBlox"
description: "UNIVERSAL Anti AFK for any Roblox game: -- Universal Anti-AFK -- The character jumps every 19 minutes. The GUI has a timer. Anti-AFK lol..."
canonical_url: "https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660"
meta:
  "og:description": "UNIVERSAL Anti AFK for any Roblox game: -- Universal Anti-AFK -- The character jumps every 19 minutes. The GUI has a timer. Anti-AFK lol..."
  "og:image": "https://scriptblox.com/images/script/0-1772652164353.png"
  "og:title": "UNIVERSAL Anti AFK by itz__r4m_ | Universal Roblox Script - ScriptBlox"
  "twitter:description": "UNIVERSAL Anti AFK for any Roblox game: -- Universal Anti-AFK -- The character jumps every 19 minutes. The GUI has a timer. Anti-AFK lol..."
  "twitter:image": "https://scriptblox.com/images/script/0-1772652164353.png"
  "twitter:title": "UNIVERSAL Anti AFK by itz__r4m_ | 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-1772652164353.png)

# **UNIVERSAL Anti AFK**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![itz\_\_r4m\_](https://scriptblox.com/images/photo/697af179c00de87f03df7ccb-1769665243363.jpeg) [itz\_\_r4m\_](https://scriptblox.com/u/itz__r4m_)Lv 5First script**

9 months 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

-- Universal Anti-AFK -- The character jumps every 19 minutes. The GUI has a timer. Anti-AFK lol \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ thanks you Chat GPT lulz and you too! ^^

[View Raw](https://scriptblox.com/raw/Universal-Script-UNIVERSAL-Anti-AFK-128660)

```
--// Idk if this script is bannable, but be careful.

--// Service
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")

local player = Players.LocalPlayer

--// Timer
local afkSeconds = 0
local lastInputTime = tick()

--// GUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = game.CoreGui
ScreenGui.ResetOnSpawn = false
ScreenGui.DisplayOrder = 999999

-- Frames
local Main = Instance.new("Frame", ScreenGui)
Main.Size = UDim2.new(0, 420, 0, 200)
Main.Position = UDim2.new(0.35, 0, 0.35, 0)
Main.BackgroundColor3 = Color3.fromRGB(10,10,10)
Main.Active = true
Instance.new("UICorner", Main).CornerRadius = UDim.new(0,14)

local Stroke = Instance.new("UIStroke", Main)
Stroke.Color = Color3.fromRGB(255,140,0)
Stroke.Thickness = 2

-- GUI Anim
Main.Size = UDim2.new(0,0,0,0)
TweenService:Create(Main, TweenInfo.new(0.4, Enum.EasingStyle.Back), {
	Size = UDim2.new(0,420,0,200)
}):Play()

-- Drag
local dragging, dragInput, dragStart, startPos


```

## **Comments **

**1**

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

![itz\_\_r4m\_'s profile picture](https://scriptblox.com/images/photo/697af179c00de87f03df7ccb-1769665243363.jpeg)

[**itz\_\_r4m\_**](https://scriptblox.com/u/itz__r4m_)Lv 5**Uploader**9 months ago(edited)

I think the sound isn't working :steamsad: edit: You can change the sound if you want, it's just decorative btw

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660#script","url":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660","name":"UNIVERSAL Anti AFK","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"itz__r4m_","url":"https://scriptblox.com/u/itz__r4m_"},"datePublished":"2026-03-04T18:57:04.535Z","image":"https://scriptblox.com/images/script/0-1772652164353.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-UNIVERSAL-Anti-AFK-128660#webpage","@type":"WebPage","description":"UNIVERSAL Anti AFK for any Roblox game: -- Universal Anti-AFK -- The character jumps every 19 minutes. The GUI has a timer. Anti-AFK lol...","name":"UNIVERSAL Anti AFK by itz__r4m_ | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-UNIVERSAL-Anti-AFK-128660#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":"UNIVERSAL Anti AFK","position":3}]}]}
```

## Sitemap

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