Universal Script 📌
840 Views
2.6k Executions

Simple Anti Afk script

Universal Script 📌
v3gas
v3gas10K executions
9 months ago
Get an 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

A simple and universal anti-afk script. You can use it in your own script

View Raw
pcall(function() getgenv().antiAfkConn:Disconnect() end)

local vu = game:GetService("VirtualUser")
getgenv().antiAfkConn = game:GetService("Players").LocalPlayer.Idled:Connect(function()
    vu:CaptureController()
    vu:ClickButton2(Vector2.new(0, 0))
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
194
1.1k
Bumped 4 minutes ago
Universal Script 📌
8.3k
119.0k
Bumped 27 minutes ago
Script hub
9
0
Approved 35 minutes ago
Key System

Script hub

Lz Hub [Beta]

Script hub
479
9.4k
Bumped 55 minutes ago
Key System

Script hub

Friedpotato Hub

Script hub
17
0
Approved 1 hour ago