Advertisement
1x1x1x1IAMbck

Heroes Legacy GUI

Aug 14th, 2020
1,128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.75 KB | None | 0 0
  1. --// yes all mighty 1x1x1x1IAMbck is back... What you want? \\--
  2. --// Heroes Legacy: https://www.roblox.com/games/3487743894/VIP-Heroes-Legacy \\ --
  3.  
  4. loadstring(game:HttpGet('https://pastebin.com/raw/6TW7RGz3', true))()
  5. local example = library:AddWindow("Heroes Legacy")
  6. local w = example:AddTab('Auto-Farm Mobs')
  7. local AU = example:AddTab('Auto Quest')
  8. local mo = example:AddTab("Class Spin")
  9. local pp = example:AddTab("Stat Adder")
  10.  
  11. --// Auto Points Adding
  12. local stat = "Strength"
  13. local adder = false
  14. local ded = pp:AddDropdown("Stat", function(why)
  15.     stat = why
  16. end)
  17. pp:AddSwitch("Add Points", function(yes)
  18.     adder = yes
  19. end)
  20. ded:Add("Strength")
  21. ded:Add("Health")
  22.  
  23. --// Class Spin
  24. local checker = mo:AddLabel("Has the Class: No")
  25. local class = "GOD"
  26. local farm = false
  27. local buy = false
  28. local att = mo:AddDropdown("Class", function(homo)
  29.     class = homo
  30.     print(class)
  31. end)
  32. mo:AddSwitch("Spin", function(das)
  33. farm = das
  34. end)
  35. mo:AddSwitch("Buy Spins", function(das)
  36. buy = das
  37. end)
  38.  
  39. --// Classes
  40. att:Add("GOD")
  41. att:Add("ALIEN")
  42. att:Add("SUPERHUMAN")
  43. att:Add("MARTIAL ARTIST")
  44.  
  45. --// Mobs
  46. local onoff = false
  47. local onoff1 = false
  48. local faggots = {}
  49. local choice = ""
  50. local dd = w:AddDropdown("Name of Enemy", function(hom)
  51.     choice = hom
  52.     print(choice)
  53. end)
  54.  
  55. --// Mobs
  56. dd:Add("BOROS")
  57. dd:Add("GAROU")
  58. dd:Add("PARADISER")
  59. dd:Add("ARMED THUG")
  60. dd:Add("BALD CAPE 1")
  61. dd:Add("CRABLANTE")
  62. dd:Add("HAMMERHEAD")
  63. dd:Add("ANNIHLATOR 5K-G0")
  64. dd:Add("MINI ANNIHLATOR")
  65. dd:Add("STRONG THUG")
  66. dd:Add("SEA MONSTER")
  67. dd:Add("DEEP SEA KING")
  68. dd:Add("THUG")
  69. dd:Add("WEAK THUG")
  70. dd:Add("GOUKETSU")
  71. dd:Add("SPEED O SOUND SONIC")
  72.  
  73. w:AddSwitch('Autofarm', function(hom)
  74.     onoff = hom
  75. end)
  76. w:AddSwitch('Autofarm Every Mob', function(hom)
  77.     onoff1 = hom
  78. end)
  79. w:AddLabel("No Seriously this is buggy as hell lel but works.")
  80.  
  81. --// Auto Quest
  82. local NPC = ""
  83. local ddQ = AU:AddDropdown("Name of NPC", function(homo)
  84.     NPC = homo
  85.     print(NPC)
  86. end)
  87. for i, v in pairs(game:GetService("Workspace").Npcs:GetChildren()) do
  88. if v:FindFirstChild("Quest").Mob then
  89.     ddQ:Add(v.Quest.Mob.Value)
  90. end
  91. end
  92. local AutoQuest = false
  93. AU:AddSwitch("Auto-Quest", function(no)
  94. AutoQuest = no
  95. end)
  96. AU:AddLabel("You have to first finish current quest. (If you have one of course)")
  97.  
  98. --// Secret anti afk
  99. local bb=game:service'VirtualUser'
  100. game:service'Players'.LocalPlayer.Idled:connect(function()
  101. bb:CaptureController()
  102. bb:ClickButton2(Vector2.new())
  103. end)
  104.  
  105.  
  106. --// The Scripts I guess
  107. local spin = coroutine.wrap(function()
  108. while wait(0.35) do
  109.     local plr = game.Players.LocalPlayer
  110.     if farm == true then
  111.         if plr.Class.Value == class then
  112.             checker.Text = "Has the Class: Yes"
  113.             farm = false
  114.         else
  115.            local Target = game:GetService("ReplicatedStorage").RemoteEvents.SP
  116.            Target:FireServer()
  117.         end
  118.     end
  119. end
  120. end)
  121. spin()
  122.  
  123. local buyer = coroutine.wrap(function()
  124. while wait() do
  125.     if buy then
  126.     local Target = game:GetService("ReplicatedStorage").RemoteEvents.BS;
  127.     Target:FireServer();
  128.     end
  129. end
  130. end)
  131. buyer()
  132.  
  133. local quest = coroutine.wrap(function()
  134. while wait(1) do
  135.     if AutoQuest then
  136.         local plr = game.Players.LocalPlayer
  137.         if plr:FindFirstChild("Quest") then
  138.         else
  139.         for i, v in pairs(game:GetService("Workspace").Npcs:GetChildren()) do
  140. if v:FindFirstChild("Quest").Mob.Value == NPC then
  141.     fireclickdetector(v.ClickDetector)
  142.    end
  143.          end
  144. end
  145.     end
  146. end
  147. end)
  148. quest()
  149.  
  150. local farm = coroutine.wrap(function()
  151. while wait() do
  152. if onoff then
  153. for _,v in pairs(game.Workspace.Mobs:GetChildren()) do
  154. if v.Name == choice then
  155.     if v:FindFirstChild("HumanoidRootPart") then
  156. v:FindFirstChild("HumanoidRootPart").Anchored = true
  157. v:FindFirstChild("HumanoidRootPart").CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-0.5)
  158. if game.Players.LocalPlayer.Class.Value == "NINJA" then
  159. local userdata_3 = game:GetService("Players").LocalPlayer.Character.LocalScript.Knockback2;
  160. local Target2 = game:GetService("ReplicatedStorage").RemoteEvents.B;
  161. Target2:FireServer(userdata_3);
  162. else
  163. local string_1 = "RightHand";
  164. local string_2 = "LeftHand";
  165. local userdata_1 = game:GetService("Players").LocalPlayer.Character.LocalScript.Knockback2;
  166. local Target = game:GetService("ReplicatedStorage").RemoteEvents.A;
  167. Target:FireServer(string_1, userdata_1);
  168. Target:FireServer(string_2, userdata_1);
  169. end
  170. end
  171. end
  172. end
  173. end
  174. end
  175. end)
  176. farm()
  177.  
  178. local farmall = coroutine.wrap(function()
  179. while wait() do
  180. if onoff1 then
  181. for _,v in pairs(game.Workspace.Mobs:GetChildren()) do
  182.     if v:FindFirstChild("HumanoidRootPart") then
  183. v:FindFirstChild("HumanoidRootPart").Anchored = true
  184. v:FindFirstChild("HumanoidRootPart").CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-0.5)
  185. if game.Players.LocalPlayer.Class.Value == "NINJA" then
  186. local userdata_3 = game:GetService("Players").LocalPlayer.Character.LocalScript.Knockback2;
  187. local Target2 = game:GetService("ReplicatedStorage").RemoteEvents.B;
  188. Target2:FireServer(userdata_3);
  189. else
  190. local string_1 = "RightHand";
  191. local string_2 = "LeftHand";
  192. local userdata_1 = game:GetService("Players").LocalPlayer.Character.LocalScript.Knockback2;
  193. local Target = game:GetService("ReplicatedStorage").RemoteEvents.A;
  194. Target:FireServer(string_1, userdata_1);
  195. Target:FireServer(string_2, userdata_1);
  196. end
  197. end
  198. end
  199. end
  200. end
  201. end)
  202. farmall()
  203.  
  204. local points = coroutine.wrap(function()
  205.     while wait() do
  206.         local plr = game.Players.LocalPlayer
  207.         if adder == true then
  208. local string_1 = "Strength";
  209. local number_1 = plr.Points.Value;
  210. local Target = game:GetService("ReplicatedStorage").RemoteEvents.AS;
  211. Target:FireServer(string_1, number_1);
  212.         end
  213.     end
  214. end)
  215. points()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement