Advertisement
sync_exploits

HxH: Ultimate Finale Autofarm

Jan 10th, 2021
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. -- Auto Farm
  2. local Player = game.Players.LocalPlayer.Character
  3.  
  4. game:GetService("RunService").Heartbeat:Connect(function()
  5. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  6. end)
  7.  
  8. while wait() do
  9.  
  10. for i,v in pairs(game:GetService("Workspace").MobFolder:GetChildren()) do
  11. if v.Name == "Strong Delinquent Lv. 35" then
  12. repeat
  13. wait()
  14. local TweenService = game:GetService("TweenService")
  15. local tweenInfo = TweenInfo.new(
  16. 2, -- Time
  17. Enum.EasingStyle.Linear, -- EasingStyle
  18. Enum.EasingDirection.Out, -- EasingDirection
  19. 0, -- RepeatCount (when less than zero the tween will loop indefinitely)
  20. false, -- Reverses (tween will reverse once reaching it's goal)
  21. 0 -- DelayTime
  22. )
  23.  
  24. local part = game.Players.LocalPlayer.Character.HumanoidRootPart
  25. local npc = v.HumanoidRootPart
  26. local npcCFrame = CFrame.new(npc.Position.X, npc.Position.Y -1, npc.Position.Z)
  27. local tween = TweenService:Create(part, tweenInfo, {CFrame = npcCFrame})
  28. tween:Play()
  29. wait()
  30. until v.Humanoid.Health < 0.5
  31. end
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement