KoxMati

DQ Auto Farm

Apr 17th, 2020
726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 KB | None | 0 0
  1. --READ THE DAMN INSTRUCTIONS
  2. --ONLY TESTED ON ORBITAL OUTPOST
  3. --USE SPELLS THAT HAVE DISTANCE AND EXPLOSION AND VORTEX GRENADE WONT WORK OK
  4. --if ur not using orbs of destruction, change ok1 to 20 or 30 and degree to -1.6
  5. --if ur using a long distance spell then change ok1 to 30 and degree to -1.6
  6. --if ur using a short distance spell then change ok1 to 15 or 20 and degree to -1.6
  7. --if ur so strong and ur confident that u will kill the mobs before they hit u then change autostartend to false and autostartbegin to true
  8. --if you weak as hell then leave the autostart settings as it is since once u reach the final boss u wont die
  9. _G.Key = "TheBestAsianYay"
  10. _G.Map = "Orbital Outpost"
  11. _G.Mode = "Nightmare"
  12. _G.Hardcore = true
  13. _G.Private = true
  14. _G.WaveDefense = false
  15.  
  16.  
  17. local noclip = false
  18. local ok = 0
  19. local ok1 = 20
  20. local ok2 = 0
  21. local degree = -1.6
  22. local autostartend = true
  23. local autostartbegin = false
  24. local death = false
  25. wait(2)
  26. --Function
  27. --Function
  28. local function EnemyTele(instance)
  29. for i,v in pairs(instance:GetChildren()) do
  30. lowername = string.lower(v.Name)
  31. if string.find(lowername, "enemyfolder") then
  32. for i,x in pairs(v:GetChildren()) do
  33. if x:FindFirstChild("HumanoidRootPart") then
  34. if x.Name == "dunbass" then
  35. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x.HumanoidRootPart.CFrame * CFrame.new(0, 21, 21)
  36. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, 0, 0)
  37. elseif x.Name ~= "dumbass" then
  38. x.HumanoidRootPart.Anchored = true
  39. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x.HumanoidRootPart.CFrame * CFrame.new(ok, ok1, ok2)
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(degree, 0, 0)
  41. if x.Name == "Lord Varosh" and autostartend == true then
  42. game.ReplicatedStorage.remotes.changeStartValue:FireServer()
  43. end
  44. end
  45. end
  46. end
  47.  
  48. end
  49. EnemyTele(v)
  50. end
  51. end
  52. local function touching()
  53. game.Players.LocalPlayer.Character.LeftFoot.Touched:Connect(function(hit)
  54. if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
  55. ok = math.random(-17,17)
  56. ok2 = math.random(-17,17)
  57. wait()
  58. end
  59. end)
  60. game.Players.LocalPlayer.Character.RightFoot.Touched:Connect(function(hit)
  61. if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
  62. ok = math.random(-17,17)
  63. ok2 = math.random(-17,17)
  64. wait()
  65. end
  66. end)
  67. end
  68. --Other
  69. local SugDezNuts = {"TheBestAsianYay", "ohyaboii"}
  70.  
  71. pcall(function()
  72. for i, key in pairs(SugDezNuts) do
  73. if key == _G.Key then
  74. if game.PlaceId == 2414851778 then
  75. local A_1 = _G.Map
  76. local A_2 = _G.Mode
  77. local A_3 = 0
  78. local A_4 = _G.Hardcore
  79. local A_5 = _G.Private
  80. local A_6 = _G.WaveDefense
  81. local Event = game:GetService("ReplicatedStorage").remotes.createLobby
  82. game.ReplicatedStorage.remotes.loadPlayerCharacter:FireServer()
  83. wait(1.5)
  84. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  85. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  86. elseif game.PlaceId ~= 2414851778 then
  87. if autostartbegin == true then
  88. game.ReplicatedStorage.remotes.changeStartValue:FireServer()
  89. end
  90. game.Players.LocalPlayer.Character.LeftFoot.Touched:Connect(function(hit)
  91. if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
  92. ok = math.random(-17,17)
  93. ok2 = math.random(-17,17)
  94. wait()
  95. end
  96. end)
  97. game.Players.LocalPlayer.Character.RightFoot.Touched:Connect(function(hit)
  98. if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
  99. ok = math.random(-17,17)
  100. ok2 = math.random(-17,17)
  101. wait()
  102. end
  103. end)
  104. game:GetService('RunService').Stepped:connect(function()
  105. if noclip then
  106. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  107. end
  108. end)
  109. noclip = not noclip
  110. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  111.  
  112. while wait(0.1) do
  113. pcall(function()
  114. if game.Players.LocalPlayer.Character.Humanoid.Health < 1 and death == false then
  115. death = true
  116. wait(1)
  117. repeat wait() until game.Players.LocalPlayer.Character:WaitForChild("Head")
  118. touching()
  119. death = false
  120. wait()
  121. end
  122. if death == false then
  123. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  124. local spells = game.Players.LocalPlayer.Backpack:GetDescendants()
  125. EnemyTele(game.Workspace)
  126. for i, x in pairs(spells) do
  127. if x:IsA('RemoteEvent') then
  128. x:FireServer()
  129. end
  130. end
  131. end
  132. end)
  133. end
  134. end
  135. end
  136. end
  137. end)
Add Comment
Please, Sign In to add comment