Advertisement
SQUIDMAN740

Auto Farm Gui ( Full Afk Version )

Mar 22nd, 2019
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.17 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "FunTratOr On V3rm", Text = "The UI Is Still WIP!"})
  2. local new = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame")
  4. local frame = Instance.new("Frame")
  5. local farm = Instance.new("TextButton")
  6. local name = Instance.new("TextBox")
  7. local areaname = Instance.new("TextBox")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextLabel_2 = Instance.new("TextLabel")
  10.  
  11. new.Name = "new"
  12. new.Parent = game.CoreGui
  13.  
  14. Main.Name = "Main"
  15. Main.Active = true
  16. Main.Draggable = true
  17. Main.Parent = new
  18. Main.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  19. Main.BorderColor3 = Color3.new(0.478431, 0.478431, 0.478431)
  20. Main.Position = UDim2.new(0.324974805, 0, 0.397578269, 0)
  21. Main.Size = UDim2.new(0, 232, 0, 153)
  22.  
  23. frame.Name = "frame"
  24. frame.Parent = Main
  25. frame.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  26. frame.BorderColor3 = Color3.new(0.478431, 0.478431, 0.478431)
  27. frame.Position = UDim2.new(0.0246580709, 0, 0.196078435, 0)
  28. frame.Size = UDim2.new(0, 218, 0, 114)
  29.  
  30. farm.Name = "farm"
  31. farm.Parent = frame
  32. farm.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  33. farm.BorderColor3 = Color3.new(0.258824, 0.423529, 0.0117647)
  34. farm.Position = UDim2.new(0.0366972461, 0, 0.612621665, 0)
  35. farm.Size = UDim2.new(0, 202, 0, 33)
  36. farm.Font = Enum.Font.Fantasy
  37. farm.Text = "Auto Farm | All Mobs"
  38. farm.TextColor3 = Color3.new(1, 1, 1)
  39. farm.TextSize = 14
  40. farm.TextStrokeColor3 = Color3.new(0.67451, 0, 0.00784314)
  41. farm.TextWrapped = true
  42.  
  43. name.Name = "name"
  44. name.Parent = frame
  45. name.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  46. name.BorderColor3 = Color3.new(0.427451, 0.0235294, 0.027451)
  47. name.Position = UDim2.new(0.0366972461, 0, 0.0948275849, 0)
  48. name.Size = UDim2.new(0, 202, 0, 19)
  49. name.Font = Enum.Font.Gotham
  50. name.Text = "MOB NAME HERE"
  51. name.TextColor3 = Color3.new(1, 1, 1)
  52. name.TextSize = 14
  53. name.TextStrokeColor3 = Color3.new(1, 1, 1)
  54.  
  55. areaname.Name = "areaname"
  56. areaname.Parent = frame
  57. areaname.BackgroundColor3 = Color3.new(0.133333, 0.133333, 0.133333)
  58. areaname.BorderColor3 = Color3.new(0.427451, 0.0235294, 0.027451)
  59. areaname.Position = UDim2.new(0.0366972461, 0, 0.327586204, 0)
  60. areaname.Size = UDim2.new(0, 202, 0, 19)
  61. areaname.Font = Enum.Font.Gotham
  62. areaname.Text = "AREA NAME HERE"
  63. areaname.TextColor3 = Color3.new(1, 1, 1)
  64. areaname.TextSize = 14
  65. areaname.TextStrokeColor3 = Color3.new(1, 1, 1)
  66.  
  67. TextLabel.Parent = Main
  68. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  69. TextLabel.BackgroundTransparency = 1
  70. TextLabel.Position = UDim2.new(0.0488293022, 0, 0, 0)
  71. TextLabel.Size = UDim2.new(0, 97, 0, 30)
  72. TextLabel.Font = Enum.Font.GothamSemibold
  73. TextLabel.Text = "D"
  74. TextLabel.TextColor3 = Color3.new(0.729412, 0, 0.0117647)
  75. TextLabel.TextSize = 18
  76. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  77.  
  78. TextLabel_2.Parent = Main
  79. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  80. TextLabel_2.BackgroundTransparency = 1
  81. TextLabel_2.Position = UDim2.new(0.12240614, 0, 0, 0)
  82. TextLabel_2.Size = UDim2.new(0, 127, 0, 30)
  83. TextLabel_2.Font = Enum.Font.GothamSemibold
  84. TextLabel_2.Text = "a r k  D e v s"
  85. TextLabel_2.TextColor3 = Color3.new(0.729412, 0.729412, 0.729412)
  86. TextLabel_2.TextSize = 18
  87. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  88.  
  89. farm.MouseButton1Down:connect(function()
  90.         local target; local mob = {}; local plr = game.Players.LocalPlayer
  91.  
  92. while wait() do
  93. plr.Character.HumanoidRootPart.Anchored = false
  94. mob = game.Workspace.Areas[areaname.Text]['NPCs']:GetChildren()
  95.  for i,v in pairs(mob) do
  96.     if v.Name == name.text then
  97. target = mob[i]
  98.  wait()
  99.         repeat
  100.                            plr.Character.HumanoidRootPart.CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0,1,5),v.HumanoidRootPart.Position)
  101.                            local Arg1 = "Click"
  102.                            local Arg2 =
  103.                            {
  104.                            }
  105.                            local Path = game:GetService("ReplicatedStorage").Events.Npc
  106.                            Path:FireServer(Arg1, Arg2)   -- The Most Iconic Move That Can't Kill An ANT Itself!!!
  107.             wait()
  108.         until v.Humanoid.Health == 0
  109.     end
  110. end
  111. end
  112. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement