Advertisement
_Thanh_Thy_Cute_

Arcana AUTO FARM GUI

Jun 30th, 2021
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. -- // Checks
  2.  
  3. repeat wait() until game:IsLoaded() print("Credits randomguy?#1607")
  4.  
  5. print("credits | randomguy?#1607")
  6.  
  7. -- // Declarations
  8.  
  9. -- // Variables
  10.  
  11. local Plr = game:GetService("Players").LocalPlayer
  12.  
  13. -- // Functions
  14.  
  15. -- // Settings
  16.  
  17. getgenv().SETTINGS = {
  18. PLAYERS_KILLAURA = false, -- kills any players that are close!
  19. AUTO_FARM_MOBS = true, -- farms mobs aka teleport under ground
  20. ANTI_NAME_TAG = true, -- not added yet!
  21. MOB_KILLAURA = true, -- kills any mobs that are close!
  22. AUTO_REBRITH = true, -- auto rebirth using the clicks
  23. AUTO_CLICKS = true, -- auto clicks fasta!!!
  24. DEBUG_MODE = false, -- utterlly useless
  25. NOCLIP = true -- Leave this on when auto-farming
  26. }
  27.  
  28. getgenv().AUTO_FARM_AREA = "Seaside" -- // "Home" or "Farm" or "Seaside"
  29.  
  30. -- // Code
  31.  
  32. spawn(function()
  33. if SETTINGS.NOCLIP then
  34. game:GetService('RunService').RenderStepped:Connect(function()
  35. Plr.Character.Humanoid:ChangeState(11)
  36. end)
  37. end
  38. end)
  39.  
  40. spawn(function() -- // AUTO_CLICKS
  41. while wait() do
  42. if SETTINGS.AUTO_CLICKS then
  43. local AUTO_CLICKS_STRING1 = "clicks"
  44. game:GetService("ReplicatedStorage").Events.Click:FireServer(AUTO_CLICKS_STRING1)
  45. end
  46. end
  47. end)
  48.  
  49. spawn(function() -- // AUTO_REBIRTH
  50. while wait() do
  51. if SETTINGS.AUTO_REBRITH then
  52. game:GetService("ReplicatedStorage").Events.Rebirth:FireServer("Rebirth")
  53. end
  54. end
  55. end)
  56.  
  57. spawn(function() -- // MOB_KILLAURA
  58. while wait() do
  59. if SETTINGS.MOB_KILLAURA then
  60. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanCanComboAttack", false)
  61. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", false)
  62. for i, a in ipairs(game:GetService("Workspace").Monsters:GetChildren()) do
  63. if a:FindFirstChild("HumanoidRootPart") and Plr:DistanceFromCharacter(a:FindFirstChild("HumanoidRootPart").Position) < 30 then
  64. game:GetService("ReplicatedStorage").Events.Combat:FireServer("ToolHit", a, false)
  65. end
  66. end
  67. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  68. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanCanComboAttack", true)
  69. end
  70. end
  71. end)
  72.  
  73. spawn(function() -- // PLAYERS_KILLAURA
  74. while wait() do
  75. if SETTINGS.PLAYERS_KILLAURA then
  76. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanCanComboAttack", false)
  77. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", false)
  78. for i, Player in pairs(game:GetService("Players"):GetPlayers()) do
  79. if Player.Name ~= Plr.Name and Player and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and Plr:DistanceFromCharacter(Player.Character:FindFirstChild("HumanoidRootPart").Position) < 30 and Player.Character:FindFirstChild("SafeZone") and Player.Character:FindFirstChild("SafeZone"):FindFirstChild("SafeZone").Value == false then
  80. if SETTINGS.DEBUG_MODE then print(Player.Character) end
  81. game:GetService("ReplicatedStorage").Events.Combat:FireServer("ToolHit", Player.Character, false)
  82. end
  83. end
  84. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  85. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanCanComboAttack", true)
  86. end
  87. end
  88. end)
  89.  
  90. spawn(function() -- // AUTO_FARM_MOBS
  91. local MOBS_FOLDER = game:GetService("Workspace"):FindFirstChild("Monsters")
  92. if Plr.Character:FindFirstChild("SafeZone"):FindFirstChild("SafeZone").Value == true then
  93. game:GetService("ReplicatedStorage").Events.EquipWeapon:FireServer()
  94. game:GetService("ReplicatedStorage").Events.Arcana:FireServer("Transform", true)
  95. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  96. game:GetService("ReplicatedStorage").Events.PetTransform:FireServer(true)
  97. end
  98. while wait() do
  99. if SETTINGS.AUTO_FARM_MOBS then
  100. if AUTO_FARM_AREA == "Home" then
  101. if Plr.Character and Plr.Character:FindFirstChild("SafeZone") and Plr.Character.SafeZone:FindFirstChild("SafeZone").Value == true then
  102. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  103. end
  104. for i, a in pairs(MOBS_FOLDER:GetChildren()) do
  105. if string.find(a.Name, "Slime") then
  106. if a and Plr.Character and Plr.Character:FindFirstChild("Humanoid") and a:FindFirstChild("HumanoidRootPart") and a:FindFirstChild("Monster") and a:FindFirstChild("Monster").Health > 0 and Plr.Character and Plr.Character:FindFirstChild("HumanoidRootPart") then
  107. repeat wait()
  108. local position = a:FindFirstChild("HumanoidRootPart").CFrame
  109. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(position.X, position.Y, position.Z) + Vector3.new(0, -20, 0)
  110. until a:FindFirstChild("Monster").Health <= 0
  111. end
  112. else
  113. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(116.514565, 43.0863953, -101.520134)
  114. end
  115. end
  116. elseif AUTO_FARM_AREA == "Farm" then
  117. if Plr.Character and Plr.Character:FindFirstChild("SafeZone") and Plr.Character.SafeZone:FindFirstChild("SafeZone").Value == true then
  118. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  119. end
  120. for i, a in pairs(MOBS_FOLDER:GetChildren()) do
  121. if string.find(a.Name, "Cabbage") or string.find(a.Name, "Sheep") or string.find(a.Name, "Rabbit") then
  122. if a and Plr.Character and Plr.Character:FindFirstChild("Humanoid") and a:FindFirstChild("HumanoidRootPart") and a:FindFirstChild("Monster") and a:FindFirstChild("Monster").Health > 0 and Plr.Character and Plr.Character:FindFirstChild("HumanoidRootPart") then
  123. repeat wait()
  124. local position = a:FindFirstChild("HumanoidRootPart").CFrame
  125. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(position.X, position.Y, position.Z) + Vector3.new(0, -20, 0)
  126. until a:FindFirstChild("Monster").Health <= 0
  127. end
  128. else
  129. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(116.514565, 43.0863953, -101.520134)
  130. end
  131. end
  132. elseif AUTO_FARM_AREA == "Seaside" then
  133. if Plr.Character and Plr.Character:FindFirstChild("SafeZone") and Plr.Character.SafeZone:FindFirstChild("SafeZone").Value == true then
  134. game:GetService("ReplicatedStorage").Events.Combat:FireServer("SetCanAttack", true)
  135. end
  136. for i, a in pairs(MOBS_FOLDER:GetChildren()) do
  137. if string.find(a.Name, "Snail") or string.find(a.Name, "Crab") or string.find(a.Name, "Undine") then
  138. if a and Plr.Character and Plr.Character:FindFirstChild("Humanoid") and Plr.Character:FindFirstChild("HumanoidRootPart") and a:FindFirstChild("HumanoidRootPart") and a:FindFirstChild("Monster") and a:FindFirstChild("Monster").Health > 0 and Plr.Character and Plr.Character:FindFirstChild("HumanoidRootPart") then
  139. repeat wait()
  140. local position = a:FindFirstChild("HumanoidRootPart").CFrame
  141. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(position.X, position.Y, position.Z) + Vector3.new(0, -20, 0)
  142. until a:FindFirstChild("Monster").Health <= 0
  143. end
  144. else
  145. Plr.Character.HumanoidRootPart.CFrame = CFrame.new(116.514565, 43.0863953, -101.520134)
  146. end
  147. end
  148. end
  149. end
  150. end
  151. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement