Advertisement
yoitzErrorYT

anti afk

Jun 14th, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. while not game:IsLoaded() do wait() end
  2.  
  3. repeat wait() until game.Players.LocalPlayer.Character
  4.  
  5. Players = game:GetService("Players")
  6.  
  7. local GC = getconnections or get_signal_cons
  8. if GC then
  9.     for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
  10.         if v["Disable"] then v["Disable"](v)
  11.         elseif v["Disconnect"] then v["Disconnect"](v)
  12.         end
  13.     end
  14. else
  15.   Players.LocalPlayer.Idled:Connect(function()
  16.     VirtualUser:CaptureController()
  17.     VirtualUser:ClickButton2(Vector2.new())
  18.   end)
  19. end
Tags: lua
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement