autofarm
Key Required Patched

autofarm

[🍂] Welcome to Bloxburg annajepandaannajepanda 8.1K views 10 executesUpdated Mar 9, 2022
2.5/ 5(2 votes)
1150% Positive
Lua Script•112 lines (4283 chars)
--[[
    Bloxburg Script (Uh, good name right...?)
    Meme: https://sperg.club/uploads/elFYKuMqdp9kRljM.png
]]
 
-- Wait for game to load
 
repeat wait() until game:IsLoaded();
 
-- Define variables
 
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/LegoHacks/Utilities/main/UI.lua"))();
 
local workspace = game:GetService("Workspace");
local replicatedStorage = game:GetService("ReplicatedStorage");
local tweenService = game:GetService("TweenService");
local players = game:GetService("Players");
local client = players.LocalPlayer;
 
-- Main script
 
local stats = replicatedStorage.Stats[client.Name];
local dataManager = require(replicatedStorage.Modules.DataManager);
local jobManager = require(client.PlayerGui.MainGUI.Scripts.JobManager);
 
local function fireServer(data)
    local oldI = getfenv(dataManager.FireServer).i;
    getfenv(dataManager.FireServer).i = function() end; --> Get around their shit "security"
    dataManager:FireServer(data);
    getfenv(dataManager.FireServer).i = oldI; --> Restore original function
end;
 
local function getOrder(customer)
    if (not customer or (customer and not customer:FindFirstChild("Order"))) then return end;
 
    if (stats.Job.Value == "StylezHairdresser") then
        local style = customer.Order:WaitForChild("Style").Value;
        local colour = customer.Order:WaitForChild("Color").Value;
 
        return {style, colour};
    elseif (stats.Job.Value == "BloxyBurgersCashier") then
        local burger = customer.Order:WaitForChild("Burger").Value;
        local fries = customer.Order:WaitForChild("Fries").Value;
        local cola = customer.Order:WaitForChild("Cola").Value;
 
        return {burger, fries, cola};
    end;
end;
 
local bloxburg = library:CreateWindow("Bloxburg");
 
bloxburg:AddToggle({
    text = "Stylez Hairdresser";
    flag = "hairdresser";
    callback = function(enabled)
        if (not enabled) then return end;
 
        if (stats.Job.Value ~= "StylezHairdresser") then
            jobManager:GoToWork("StylezHairdresser"); --> TP to job
        end;
 
        repeat wait() until stats.Job.Value == "StylezHairdresser";
        tweenService:Create(client.Character.HumanoidRootPart, TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {CFrame = CFrame.new(868.464783, 13.6776829, 174.983795, -0.999945581, -6.58446098e-08, -0.0104347449, -6.6522297e-08, 1, 6.45977494e-08, 0.0104347449, 6.52883756e-08, -0.999945581)}):Play();
 
        while library.flags.hairdresser do
            local workstations = workspace.Environment.Locations.StylezHairStudio.HairdresserWorkstations;
            for i, v in next, workstations:GetChildren() do
                if (v.Occupied.Value) then
                    fireServer({
                        Type = "FinishOrder";
                        Workstation = v;
                        Order = getOrder(v.Occupied.Value);
                    });
                end;
            end;
            wait();
        end;
    end;
});
 
bloxburg:AddToggle({
    text = "Bloxy Burgers Cashier";
    flag = "cashier";
    callback = function(enabled)
        if (not enabled) then return end;
 
        if (stats.Job.Value ~= "BloxyBurgersCashier") then
            jobManager:GoToWork("BloxyBurgersCashier"); --> TP to job
        end;
 
        repeat wait() until stats.Job.Value == "BloxyBurgersCashier";
        tweenService:Create(client.Character.HumanoidRootPart, TweenInfo.new(0.75, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {CFrame = CFrame.new(825.076355, 13.6776829, 276.091309, 0.0133343497, -5.09454665e-08, -0.999910772, 7.34347916e-09, 1, -5.08520621e-08, 0.999910772, -6.66474698e-09, 0.0133343497)}):Play();
 
        while library.flags.cashier do
            local workstations = workspace.Environment.Locations.BloxyBurgers.CashierWorkstations;
            for i, v in next, workstations:GetChildren() do
                if (v.Occupied.Value) then
                    fireServer({
                        Type = "FinishOrder";
                        Workstation = v;
                        Order = getOrder(v.Occupied.Value);
                    });
                end;
            end;
            wait();
        end;
    end;
});
 
-- Load library
 
library:Init();

Features & Information

This is not mine okay

Community Comments (4)

vozoidvozoidMar 10, 2022(edited)

bad method pretty sure its detectable

FierceFierceMar 11, 2022(edited)

I can confirm that this will get you banned after around 15-48 hours after using it.

ShayminShayminadminMar 11, 2022(edited)

marking this script as detected as its been reported for getting people banned, the devs of bloxburg have logs of you completing jobs, autofarming for hours on end without failing anything will get you banned

annajepandaannajepandaMar 11, 2022(edited)

Iv been using this script for weeks now and i didnt get banned yet

More Scripts for [🍂] Welcome to Bloxburg