Advertisement
BjeffeHund

Untitled

Apr 17th, 2020
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. loadstring(game:HttpGet('https://pastebin.com/raw/cwDSpepQ', true))()
  2. local standOn = Instance.new("Part", game.Workspace)
  3. standOn.Size = Vector3.new(20,3,20)
  4. standOn.Anchored = true
  5. local first_w = library:AddWindow("Why is everyone reqing this game")
  6. local first_t = first_w:AddTab("Boss Autofarm")
  7. local auto_on = false
  8. local auto_on2 = false
  9. local boss_name = ""
  10. local boss_name_whitelist = ""
  11. local clrH = ""
  12. local clrLUP = ""
  13. local clrLLA = ""
  14. local clrHead = ""
  15. first_t:AddSwitch('Boss Autofarm', function(a)
  16. auto_on = a
  17. auto_on2 = a
  18. end)
  19. local drop = first_t:AddDropdown('Boss name', function(a)
  20. boss_name = a .. " Teleporter"
  21. boss_name_whitelist = a:lower()
  22. end)
  23. drop:Add("Fury Ruler")
  24. drop:Add("Alpha Ruler")
  25. drop:Add("Elemental Overlord")
  26. drop:Add("Alpha Destructive Overlord")
  27. drop:Add("Fury Destructive Overlord")
  28. drop:Add("Overlord of Overlords")
  29. drop:Add("Ascension Mage")
  30. drop:Add("Space King")
  31. drop:Add("Evil Tank Boss")
  32. local sec_t = first_w:AddTab('Normal Mobs Autofarm')
  33. sec_t:AddSwitch('Normal Autofarm', function(a)
  34. auto_on = a
  35. end)
  36. sec_t:AddTextBox('Mob name', function(a)
  37. boss_name_whitelist = a:lower()
  38. end)
  39. sec_t:AddLabel('\nBtw, you need to go into the mine you wanna autofarm\nin so the mobs can load.\nAlso, does not need to be the full name of the mob.')
  40. local exeFunc = nil
  41. local name = nil
  42. spawn(function()
  43. while wait() do
  44. for i,v in pairs(getreg()) do
  45. if type(v) == 'function' and getfenv(v).script and game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool") and game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChild("LocalScript") and tostring(getfenv(v).script:GetFullName()) == tostring(game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChild("LocalScript"):GetFullName()) then
  46. for i2,v2 in pairs(debug.getupvalues(v)) do
  47. if type(v2) == 'function' then
  48. exeFunc = v2
  49. name = game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool").Name
  50. end
  51. end
  52. end
  53. end
  54. wait(0.5)
  55. end
  56. end)
  57. game:GetService('RunService').Stepped:connect(function()
  58. for i,v in pairs(game:GetService("Workspace").MobFolder:GetChildren()) do
  59. if v.Name:lower() == boss_name_whitelist or string.find(v.Name:lower(), boss_name_whitelist) then
  60. pcall(function()
  61. clrLUP = v.LeftUpperArm.BrickColor
  62. clrLLA = v.LeftLowerArm.BrickColor
  63. clrHead = v.Head.BrickColor
  64. end)
  65. end
  66. end
  67. if auto_on then
  68. if exeFunc ~= nil then
  69. for i,v in pairs(game:GetService("Workspace").MobFolder:GetChildren()) do
  70. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildWhichIsA("Humanoid") and v:FindFirstChildWhichIsA("Humanoid").Health ~= 0 and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  71. pcall(function()
  72. if v.LeftUpperArm.BrickColor == clrLUP and v.LeftLowerArm.BrickColor == clrLLA and v.Head.BrickColor == clrHead and not auto_on2 then
  73. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  74. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(500,500,580)
  75. standOn.CFrame = CFrame.new(500,498,580)
  76. v.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,10,-20)
  77. v.HumanoidRootPart.Transparency = 0.5
  78. v.HumanoidRootPart.CanCollide = false
  79. end
  80. end)
  81. if v.Name:lower() == boss_name_whitelist and auto_on2 then
  82. pcall(function()
  83. repeat
  84. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  85. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(500,500,580)
  86. standOn.CFrame = CFrame.new(500,498,580)
  87. v.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,10,-20)
  88. v.HumanoidRootPart.Transparency = 0.5
  89. v.HumanoidRootPart.CanCollide = false
  90. wait()
  91. until v.Humanoid.Health == 0
  92. end)
  93. end
  94. end
  95. end
  96. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  97. if v.Name == name then
  98. warn("nugga")
  99. v.Parent = game.Players.LocalPlayer.Character
  100. exeFunc = nil
  101. end
  102. end
  103. for i,v in pairs(game:GetService("Workspace")["Starting Place"]["Boss Teleporters"]:GetChildren()) do
  104. for i2,v2 in pairs(v:GetChildren()) do
  105. if v.Name == tostring(boss_name) and auto_on2 then
  106. if v2:FindFirstChildWhichIsA("ClickDetector") then
  107. fireclickdetector(v2:FindFirstChildWhichIsA("ClickDetector"),1)
  108. elseif v.Name == tostring(boss_name) and v2:FindFirstChildWhichIsA("TouchTransmitter") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and not game:GetService("Players").LocalPlayer.PlayerGui.GuiShop.BossHealth.Visible and auto_on2 then
  109. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v2.CFrame
  110. end
  111. end
  112. end
  113. end
  114. local fireDetect = game:GetService("Workspace")["Ascension Trial Maps"]["Evil Island"]["Evil Tank Boss Teleporter"].Button.ClickDetector
  115. local tucc = game:GetService("Workspace")["Ascension Trial Maps"]["Evil Island"]["Evil Tank Boss Teleporter"].NumberOfPlayers
  116. if string.find(fireDetect:GetFullName(), boss_name) and auto_on2 then
  117. fireclickdetector(fireDetect,1)
  118. if string.find(tucc:GetFullName(), boss_name) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and not game:GetService("Players").LocalPlayer.PlayerGui.GuiShop.BossHealth.Visible then
  119. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = tucc.CFrame
  120. end
  121. end
  122. if exeFunc ~= nil then
  123. exeFunc()
  124. end
  125. end
  126. end
  127. for i,v in pairs(game:GetService("Workspace").CurrentMines:GetChildren()) do
  128. for i2,v2 in pairs(v:GetChildren()) do
  129. if string.find(v2.Name:lower(), "spawn") and v2:IsA("Part") then
  130. pcall(function()
  131. v2.Size = Vector3.new(5,5,5)
  132. v2.Transparency = 1
  133. v2.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-3,5),math.random(-2,5), math.random(-3,5))
  134. end)
  135. end
  136. end
  137. end
  138. end)
  139. game:GetService("Players").LocalPlayer.Idled:connect(function()
  140. game:GetService("VirtualUser"):Button2Down(Vector2.new())
  141. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement