Page cover

scrollAll Of Us Are Dead

ProBaconHub scripts 29/2/24

This is an auto farm script for the game โ€œAll Of Us Are DeadDeadโ€ in Roblox. And it is also the first script at the luner new year after we ProBaconHub return!

Auto farm will start when you equipped a weapon, and will stop if you execute it again, or simply by just unequip all weapons.

getgenv().AllOfUsAreDeadAutoFarm = not AllOfUsAreDeadAutoFarm


if not AllOfUsAreDeadAutoFarmExecuted then
    getgenv().AllOfUsAreDeadAutoFarmExecuted = true
    game.StarterGui:SetCore("SendNotification", {Title = "ProBaconHub",Text = "Thanks for using this first return script!"})
end
if AllOfUsAreDeadAutoFarm then
    game.StarterGui:SetCore("SendNotification", {Title = "ProBaconHub",Text = "Equip gun to start farming."})
    game.StarterGui:SetCore("SendNotification", {Title = "ProBaconHub",Text = "Execute again to stop farming."})
    while task.wait(0.00001) do
        if not AllOfUsAreDeadAutoFarm then
            break
        end
        task.spawn(function()
            local args1 = {
                [1] = game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool"),
                [2] = {
                    ["id"] = 2046,
                    ["charge"] = 0,
                    ["dir"] = Vector3.new(0.5608824491500854, -0.008607717230916023, -0.8278507590293884),
                    ["origin"] = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Position
                }
            }
            game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponFired:FireServer(unpack(args1))
        end)

        task.spawn(function()
            if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool") then
                local args2 = {
                    [1] = game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Tool"),
                    [2] = {
                        ["p"] = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Position,
                        ["pid"] = 1,
                        ["part"] = workspace.Enemies:FindFirstChildWhichIsA("Model").UpperTorso,
                        ["d"] = 28.583362579345703,
                        ["maxDist"] = 28.581480026245117,
                        ["h"] = workspace.Enemies:FindFirstChildWhichIsA("Model").Humanoid,
                        ["sid"] = 2050,
                        ["m"] = Enum.Material.Plastic,
                        ["t"] = 0.7758734321173678,
                        ["targetsHit"] = 1,
                        ["n"] = Vector3.new(-0.4834476113319397, -0.6209316253662109, 0.6170270442962646)
                    }
                }
                local Target = workspace.Enemies:FindFirstChildWhichIsA("Model")
                repeat
                    task.wait(0.00001)
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                    game:GetService("ReplicatedStorage").WeaponsSystem.Network.WeaponHit:FireServer(unpack(args2))
                until not Target or string.sub(Target.HealthBar_BillBoardGui.BackgroundFrame.HealthText.Text, 1, 1) == 0
                Target:Destroy()
            end
        end)
    end
else
    game.StarterGui:SetCore("SendNotification", {Title = "ProBaconHub",Text = "Auto farm stopped. Execute again to start farming."})
end

Last updated