Description
The Anti-Afk script is a tool that prevents players from being kicked out of the game due to inactivity.
local VirtualUser = game:GetService('VirtualUser')
game:GetService('Players').LocalPlayer.Idled:connect(function()
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new())
end)