Antiafk
Key RequiredUniversal

Antiafk

Universal ScriptJoedyjrjjJoedyjrjj 9.2K views 100 executesUpdated May 16, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•19 lines (535 chars)
wait(5) -- Wait 5 seconds for game to load

-- Wait for LocalPlayer to be available
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
while not LocalPlayer do
    LocalPlayer = Players.LocalPlayer
    wait(0.1) -- Check every 0.1 seconds
end

-- Now disable the Idled event
if getconnections then
    for _, idle in ipairs(getconnections(LocalPlayer.Idled)) do 
        idle:Disable() 
    end
    print("Anti-AFK successfully applied")
else
    warn("getconnections not supported by this exploit")
end

Features & Information

Works in any game that does not use serversided afk checks (basically none, so should work in pretty much all games) will warn you in console if your executor is not supported, will print "Anti-AFK successfully applied" if it worked. (put into executor autoexec folder if you'd like it to always be loaded).
#Antiafk

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts