Advertisement
Guest User

i forgot the name lmao

a guest
Jan 24th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  2. local w = library:CreateWindow('I forgot the name')
  3. w:Section('made by Obanai')
  4. local t = w:Toggle("Autofarm", {flag = "toggle1"})
  5. w:Dropdown("Autofarm", {
  6. location = _G;
  7. flag = "wtf";
  8. list = {
  9. "Bandit";
  10. "Bandit Boss";
  11. 'Demon';
  12. }
  13. }, function(new)
  14. mob = new
  15. end)
  16.  
  17. function toTarget(pos, targetPos, targetCFrame)
  18. local tween_s = game:service"TweenService"
  19. local info = TweenInfo.new((targetPos - pos).Magnitude/80, Enum.EasingStyle.Quad)
  20. local tic_k = tick()
  21. local tween, err = pcall(function()
  22. local tween = tween_s:Create(game.Players.LocalPlayer.Character["HumanoidRootPart"], info, {CFrame = targetCFrame})
  23. tween:Play()
  24. end)
  25. if not tween then return err end
  26. end
  27.  
  28. spawn(function()
  29. while wait() do
  30. if w.flags.toggle1 then
  31. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  32. if string.match(v.Name, mob) then
  33. local passed = true
  34. if (mob == "Bandit") and v.Name == 'Bandit Boss' then
  35. local passed = false
  36. end
  37. if v.HumanoidRootPart.Size ~= Vector3.new(60,60,60) then
  38. v.HumanoidRootPart.Size = Vector3.new(60,60,60)
  39. end
  40. if v.HumanoidRootPart.Transparency ~= 1 then
  41. v.HumanoidRootPart.Transparency = 1
  42. end
  43. if v.HumanoidRootPart.CanCollide ~= false then
  44. v.HumanoidRootPart.CanCollide = false
  45. end
  46. if passed == true then
  47. if v:FindFirstChild("Humanoid").Health > 0 then
  48. repeat
  49. wait()
  50. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):ChangeState(11)
  51. toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position, v.HumanoidRootPart.Position, v.HumanoidRootPart.CFrame*CFrame.new(2,0,0))
  52. until v.Parent == nil or v:FindFirstChildWhichIsA("Humanoid").Health <= 0 or not w.flags.toggle1
  53. end
  54. end
  55. end
  56. end
  57. end
  58. end
  59. end)
  60.  
  61. spawn(function()
  62. while wait(0.75)do
  63. if w.flags.toggle1 then
  64. local oh1 = game:GetService("Players").LocalPlayer
  65. local oh2 = 12151513
  66. local oh3 = game:GetService("Players").LocalPlayer
  67. local oh4 = 12151513
  68. local oh5 = game:GetService("Players").LocalPlayer
  69. local oh6 = 12151513
  70. game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh1, oh2)
  71. game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh3, oh4)
  72. game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh5, oh6)
  73. end
  74. end
  75. end)
  76.  
  77. spawn(function()
  78. while wait(4)do
  79. if w.flags.toggle1 then
  80. local oh111 = game:GetService("Players").LocalPlayer
  81. local oh222 = 1
  82. game:GetService("ReplicatedStorage").Events.Combat.Sword.SwordEquip:FireServer(oh111, oh222)
  83. end
  84. end
  85. end)
  86.  
  87. spawn(function()
  88. while wait()do
  89. if w.flags.toggle1 then
  90. for i,v in pairs(workspace.Abilities:GetDescendants()) do
  91. if v:FindFirstChild("Note") and v.Name == mob then
  92. toTarget(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position, v.Note.Position, v.Note.CFrame)
  93. end
  94. end
  95. end
  96. end
  97. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement