Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OP BLOXBURG AUTOFARM SCRIPT FIND ANTI AFK ON BOTTOM
- --[[
- 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();
- ANTI AFK
- wait(0.5)local ba=Instance.new("ScreenGui")
- local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
- local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
- ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
- ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
- ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
- ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti Afk"ca.TextColor3=Color3.new(0,1,1)
- ca.TextSize=22;da.Parent=ca
- da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
- da.Size=UDim2.new(0,370,0,107)_b.Parent=da
- _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
- _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by Headshot#5868"
- _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
- ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
- ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Active"
- ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- bb:CaptureController()bb:ClickButton2(Vector2.new())
- ab.Text="Roblox kicked you but we didnt let them!"wait(2)ab.Text="Status : Active"end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement