Advertisement
xtrey10x

ACU SCript

Jun 13th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. spawn(function() -- made by: KylnDantas#6271
  2. getgenv().autoclicker = true -- change to false to stop
  3. while getgenv().autoclicker == true do
  4. task.wait()
  5. game:GetService("ReplicatedStorage").Events.InputKey:FireServer("LMB")
  6. end
  7. end)
  8.  
  9. spawn(function()
  10. getgenv().skills = true -- change to false to stop
  11. while getgenv().skills == true do
  12. local keys = {
  13. 'E','R','Z','C' -- change to your skills keys
  14. }
  15. local cooldown = 0
  16. local keyrelease_delay = 0
  17. do
  18. local s = game:GetService('VirtualInputManager')
  19. local wait = task.wait
  20.  
  21.  
  22. for _, key in ipairs(keys) do
  23. s:SendKeyEvent(true, key, false, nil)
  24. wait(keyrelease_delay)
  25. s:SendKeyEvent(false, key, false, nil)
  26. end
  27. wait(cooldown)
  28. end
  29. end
  30. end)
  31.  
  32. getgenv().autofarm = true -- change to false to stop
  33.  
  34.  
  35. coroutine.wrap(function()
  36. while task.wait() do
  37. if getgenv().autofarm == true then
  38. pcall(function()
  39. for i,v in pairs(game.Workspace.Entities:GetChildren()) do
  40. if v:IsA("Model") and v.Name == "Regen Dummy" then -- if you want another dummy, change the name
  41. if v.Humanoid.Health > 0 and game.Players.LocalPlayer.Character.Humanoid.Health > 0 then
  42. repeat
  43. task.wait()
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,-3,0) * CFrame.Angles(math.rad(-5),0,0)
  45. until v.Humanoid.Health <= 0 or getgenv().autofarm == false
  46. end
  47. end
  48. end
  49. end)
  50. end
  51. end
  52. end)()
  53.  
  54.  
  55. game:GetService("RunService").RenderStepped:Connect(function()
  56. if autofarm == true then
  57. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  58. end
  59. end)
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement