Run it
Copy the script and paste it into your executor.
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")
endWorks 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).