Facebook
From wojtek, 10 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 86
  1. local library = loadstring(game:HttpGet(("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall v3")))()
  2.  
  3. local w = library:CreateWindow("Nuke Simulator") -- Creates the window
  4.  
  5. local b = w:CreateFolder("Auto Farm") -- Creates the folder(U will put here your buttons,etc)
  6.  
  7. b:Label("Made by Emperor",{
  8.     TextSize = 12; -- Self Explaining
  9.     TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
  10.     BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
  11.    
  12. })
  13.  
  14. getgenv().autoCollecting = false
  15. getgenv().doAntiAfk = false
  16. getgenv().equipBest = false
  17.  
  18. local claimNormalChest = game:GetService("ReplicatedStorage").Packages._Index:FindFirstChild("[email protected]").knit.Services.ChestService.RE.Claim;
  19. local equipBestRemote = game:GetService("ReplicatedStorage").Packages._Index:FindFirstChild("[email protected]").knit.Services.NukeService.RE.EquipBest;
  20. function autoCollect()
  21.     task.spawn(function()
  22.         while task.wait() and getgenv().autoCollecting do
  23.             for _, drop in pairs(game:GetService("Workspace").CurrencyDrops:GetChildren()) do
  24.                 drop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  25.                 drop:Destroy()
  26.             end
  27.         end
  28.     end)
  29. end
  30.  
  31. function antiAfk()
  32.     task.spawn(function()
  33.         while task.wait() and getgenv().doAntiAfk do
  34.             repeat wait() until game:IsLoaded()
  35.                 game:GetService("Players").LocalPlayer.Idled:connect(function()
  36.                 game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  37.             end)
  38.         end
  39.     end)
  40. end
  41.  
  42. function autoEquipBest()
  43.     task.spawn(function()
  44.         while task.wait() and getgenv().equipBest do
  45.             equipBestRemote:FireServer()
  46.         end
  47.     end)
  48. end
  49.  
  50. function claimNChest()
  51.     task.spawn(function()
  52.         while task.wait() do
  53.             claimNormalChest:FireServer(unpack({"NormalChest", ""}))
  54.         end
  55.     end)
  56. end
  57.  
  58.  
  59.  
  60. b:Toggle("Auto Collect",function(bool)
  61.     getgenv().autoCollecting = bool
  62.     if bool then
  63.         autoCollect();
  64.     end
  65. end)
  66.  
  67. b:Toggle("Equip Best",function(bool)
  68.     getgenv().equipBest = bool
  69.     if bool then
  70.         autoEquipBest();
  71.     end
  72. end)
  73.  
  74. b:Toggle("Anti Afk",function(bool)
  75.     getgenv().doAntiAfk = bool
  76.     if bool then
  77.         antiAfk();
  78.     end
  79. end)
  80.  
  81. b:Button("Claim All Chest",function()
  82.     claimNChest();
  83. end)
  84.  
  85. b:DestroyGui()