Universal Script 📌
819 Views
2.2k Executions

Simple Anti Afk script

Universal Script 📌
v3gas
v3gas10K executions
8 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
Universal Script 📌
10
0
Approved 25 minutes ago
Key System
Script hub
3.0M
1.1M
Bumped 5 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
235
103
1 day ago
Script hub
277.6k
165.7k
Bumped 6 hours ago
Key System
Universal Script 📌
6.7k
17.1k
Bumped 6 hours ago
Script hub
1.7M
432.5k
Bumped 8 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported