Advertisement
toonrun123

Epic Doge Gui AutoFarm

Jun 17th, 2019
1,603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.51 KB | None | 0 0
  1. -- Instances:
  2. local AutoFarmEpikDog = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame")
  4. local op = Instance.new("TextLabel")
  5. local Button = Instance.new("Frame")
  6. local OpenButton = Instance.new("TextButton")
  7. local CloseButton = Instance.new("TextButton")
  8. local o = false
  9. local cando = false
  10. --Properties:
  11. AutoFarmEpikDog.Name = "AutoFarmEpikDog"
  12. AutoFarmEpikDog.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13.  
  14. Main.Name = "Main"
  15. Main.Parent = AutoFarmEpikDog
  16. Main.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  17. Main.BorderSizePixel = 0
  18. Main.Position = UDim2.new(0.0262498818, 0, 0.269847542, 0)
  19. Main.Size = UDim2.new(0, 498, 0, 268)
  20. Main.Style = Enum.FrameStyle.RobloxRound
  21.  
  22. op.Name = "op"
  23. op.Parent = Main
  24. op.BackgroundColor3 = Color3.new(1, 1, 1)
  25. op.BackgroundTransparency = 1
  26. op.Position = UDim2.new(0.124836683, 0, 0.00746268593, 0)
  27. op.Size = UDim2.new(0, 361, 0, 85)
  28. op.Font = Enum.Font.ArialBold
  29. op.Text = "Grow and Raise an EPIK Dog! AutoFarm [Near With Doge]"
  30. op.TextColor3 = Color3.new(1, 1, 1)
  31. op.TextScaled = true
  32. op.TextSize = 18
  33. op.TextWrapped = true
  34.  
  35. Button.Name = "Button"
  36. Button.Parent = Main
  37. Button.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Button.BorderSizePixel = 0
  39. Button.Position = UDim2.new(0.340074658, 0, 0.586750031, 0)
  40. Button.Size = UDim2.new(0, 172, 0, 55)
  41. Button.Style = Enum.FrameStyle.DropShadow
  42.  
  43. OpenButton.Name = "OpenButton"
  44. OpenButton.Parent = Button
  45. OpenButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 0)
  46. OpenButton.BorderSizePixel = 0
  47. OpenButton.Position = UDim2.new(-0.00938308984, 0, -0.0285498202, 0)
  48. OpenButton.Size = UDim2.new(0, 43, 0, 40)
  49. OpenButton.Font = Enum.Font.ArialBold
  50. OpenButton.Text = "Open"
  51. OpenButton.TextColor3 = Color3.new(1, 1, 1)
  52. OpenButton.TextScaled = true
  53. OpenButton.TextSize = 14
  54. OpenButton.TextWrapped = true
  55. OpenButton.MouseButton1Click:connect(function()
  56.     cando = true
  57.     print("Auto Farm Enabled")
  58. end)
  59.  
  60. CloseButton.Name = "CloseButton"
  61. CloseButton.Parent = Button
  62. CloseButton.BackgroundColor3 = Color3.new(1, 0, 0)
  63. CloseButton.BorderSizePixel = 0
  64. CloseButton.Position = UDim2.new(0.763872743, 0, -0.0285498202, 0)
  65. CloseButton.Size = UDim2.new(0, 43, 0, 40)
  66. CloseButton.Font = Enum.Font.ArialBold
  67. CloseButton.Text = "Close"
  68. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  69. CloseButton.TextScaled = true
  70. CloseButton.TextSize = 14
  71. CloseButton.TextWrapped = true
  72. CloseButton.MouseButton1Click:connect(function()
  73.     cando = false
  74.     print("AutoFarm Disabled")
  75. end)
  76.  
  77. while true do
  78.         if cando == true then
  79.         for NumberFound,Doge in pairs(game.Workspace:GetDescendants()) do
  80.     if Doge.Name == "Handle" then
  81.     local NormalPosition = game.Players.LocalPlayer.Character["Right Arm"].Position
  82.     print("-----------")
  83. print(NormalPosition)
  84. print(NumberFound)
  85. print(Doge.Parent)
  86.  Doge.CFrame = CFrame.new(NormalPosition)
  87. wait(.25) --Recommand 0.3,if you want Faster use 0.1
  88. end
  89. end
  90. wait(1)
  91. for i,item in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  92. if item:IsA("Tool") then
  93. if item.Name == "DogeBerry" then
  94.         wait(0)
  95.         item.Parent = game.Players.LocalPlayer.Character
  96. end
  97. end
  98. end
  99. wait(.1)
  100. for i,item in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  101. if item:IsA("Tool") then
  102. if item.Name == "DogeBerry" then
  103.         wait(0)
  104.         item.Parent = game.Players.LocalPlayer.Backpack
  105. end
  106. end
  107. end
  108.         end
  109. wait(1)
  110.         if cando == true then
  111.     print("Complete")
  112.         else
  113.             print("Waiting For AutoFarm Enabled")
  114.     end
  115.     wait(2)
  116. end
  117. Main.Active = true
  118. Main.Selectable = true
  119. Main.Draggable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement