Advertisement
demon11069

PROJECT XL UPDATED SCRIPT

Jun 19th, 2021
10,680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. COPY BOTH Scripts Separately
  2.  
  3.  
  4. UPDATED SCRIPT:loadstring(game:HttpGet("https://raw.githubusercontent.com/FatelessS/Scripts/main/ProjectXLNew"))()
  5.  
  6. SECOND SCRIPT:
  7. loadstring(game:HttpGetAsync("https://pastebin.com/raw/6TW7RGz3"))()
  8.  
  9. local player = game:GetService("Players").LocalPlayer
  10. local heartbeat = game:GetService("RunService").Heartbeat
  11. local remotes = game:GetService("ReplicatedStorage").RemoteEvents
  12. local btn, run
  13. local current_array_index = 1
  14.  
  15. local gui = library:AddWindow("Project XL | Auto Farm (HamstaGang)", {
  16. main_color = Color3.fromRGB(69, 69, 69), -- ( ͡° ͜ʖ ͡°)
  17. min_size = Vector2.new(370, 310),
  18. can_resize = false
  19. })
  20.  
  21. local all_array = { -- For our all switch
  22. "Bandits",
  23. "Rahgan's Overseers",
  24. "Agni's Overseers",
  25. "Lars' Minion",
  26. "Agni's Minions",
  27. "Rahgan's Minions"
  28. }
  29.  
  30. local array = {
  31. ["Bandits"] = "Defeat 10 Bandits",
  32. ["Rahgan's Overseers"] = "Defeat 4 of Rahgan's Overseers",
  33. ["Agni's Overseers"] = "Defeat 6 of Agni's Overseers",
  34. ["Lars' Minion"] = "Defeat 8 of Lars' Minions",
  35. ["Agni's Minions"] = "Defeat 9 of Agni's Minions",
  36. ["Rahgan's Minions"] = "Defeat 7 of Rahgan's Minions"
  37.  
  38. }
  39.  
  40. local tab = gui:AddTab("Main")
  41.  
  42. tab:AddLabel("NPC")
  43. local drop = tab:AddDropdown("Select", function(opt) array.target = opt array.quest = opt array.all = false end)
  44. for i,v in next, array do drop:Add(i) end
  45.  
  46. local switch = tab:AddSwitch("All", function(opt) array.target = "ALL" array.quest = "ALL" array.all = opt end)
  47.  
  48. tab:AddLabel("Weapon")
  49. local drop2 = tab:AddDropdown("Select", function(opt) array.weap = opt end)
  50.  
  51. repeat wait() until player.Backpack:FindFirstChildWhichIsA("BackpackItem") -- Wait for tools
  52.  
  53. for i,v in next, player.Backpack:children() do
  54. if v.ClassName == "Tool" then
  55. drop2:Add(v)
  56. end
  57. end
  58.  
  59. btn = tab:AddButton("Start", function()
  60. if not array.farm then
  61. run = game:GetService("RunService").Stepped:connect(function()
  62. pcall(function() player.Character.Humanoid:ChangeState(11) end)
  63. pcall(function() game:GetService("Players").LocalPlayer.Head.Overhead.Player:Destroy() end)
  64. end)
  65. array.farm = true btn.Text = "Stop"
  66. else
  67. array.farm = false btn.Text = "Start"
  68. run:Disconnect()
  69. end
  70. end)
  71.  
  72. library:FormatWindows()
  73. tab:Show()
  74.  
  75. player.Idled:connect(function()
  76. game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  77. end)
  78.  
  79. coroutine.wrap(function()
  80. while wait() do
  81. if array.farm and not game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("Menu"):WaitForChild("QuestFrame").Visible then
  82. pcall(function()
  83. game:GetService("ReplicatedStorage").RemoteEvents.ChangeQuestRemote:FireServer(game:GetService("ReplicatedStorage").Quests[array[array.quest]])
  84. end)
  85. end
  86. end
  87. end)()
  88.  
  89. while wait() do
  90. if array.farm then
  91. if array.target == "ALL" or array.all then array.target = all_array[current_array_index] array.quest = all_array[current_array_index] end
  92. spawn(function() pcall(function() player.Character.Humanoid:EquipTool(player.Backpack:WaitForChild(array.weap, 0.3)) end) end)
  93. for i,x in pairs(game:GetService("Workspace").Live[array.target]:GetDescendants()) do
  94. if player.Character:FindFirstChild("Humanoid").Health <= 0 then -- ded
  95. wait(8) -- Give time to respawn
  96. break;
  97. end
  98. if x.Name == "Humanoid" then
  99. if x.Health > 0 then
  100. while x ~= nil and x.Health > 0 and array.farm and player.Character:FindFirstChild("Humanoid").Health > 0 do
  101. repeat wait() until player.Character:FindFirstChildWhichIsA("BackpackItem")
  102. setsimulationradius(math.huge,math.huge)
  103. player.Character:WaitForChild("HumanoidRootPart", 15).CFrame = (x.Parent.HumanoidRootPart.CFrame * CFrame.new(0,-7,0)) * CFrame.Angles(80,0,0)
  104. wait(0.3)
  105. game:GetService("ReplicatedStorage").RemoteEvents.BladeCombatRemote:FireServer(true, nil, nil)
  106. wait(0.3)
  107. x.Health = 0
  108. heartbeat:wait()
  109. end
  110. end
  111. end
  112. end
  113. if current_array_index == 5 then current_array_index = 1; else current_array_index = current_array_index+1; end
  114. end
  115. end
  116.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement