Made By (unknown)
- Anti-AFK
UNIVERSAL GAMES
SCRIPT:
-- Anti AFK script suitable for putting in autoexec.
while not game:IsLoaded() do wait() end
repeat wait() until game.Players.LocalPlayer.Character
Players = game:GetService("Players")
local GC = getconnections or get_signal_cons
if GC then
for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
if v["Disable"] then v["Disable"](v)
elseif v["Disconnect"] then v["Disconnect"](v)
end
end
else
Players.LocalPlayer.Idled:Connect(function()
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new())
end)
end
game.StarterGui:SetCore('SendNotification', { Title = ''; Text = 'Anti-AFK activated'; })