Advertisement
sikkymella

Untitled

Aug 24th, 2021
2,732
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. OP BLOXBURG AUTOFARM SCRIPT FIND ANTI AFK ON BOTTOM
  2.  
  3. --[[
  4. Bloxburg Script (Uh, good name right...?)
  5. Meme: https://sperg.club/uploads/elFYKuMqdp9kRljM.png
  6. ]]
  7.  
  8. -- Wait for game to load
  9.  
  10. repeat wait() until game:IsLoaded();
  11.  
  12. -- Define variables
  13.  
  14. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/LegoHacks/Utilities/main/UI.lua"))();
  15.  
  16. local workspace = game:GetService("Workspace");
  17. local replicatedStorage = game:GetService("ReplicatedStorage");
  18. local tweenService = game:GetService("TweenService");
  19. local players = game:GetService("Players");
  20. local client = players.LocalPlayer;
  21.  
  22. -- Main script
  23.  
  24. local stats = replicatedStorage.Stats[client.Name];
  25. local dataManager = require(replicatedStorage.Modules.DataManager);
  26. local jobManager = require(client.PlayerGui.MainGUI.Scripts.JobManager);
  27.  
  28. local function fireServer(data)
  29. local oldI = getfenv(dataManager.FireServer).i;
  30. getfenv(dataManager.FireServer).i = function() end; --> Get around their shit "security"
  31. dataManager:FireServer(data);
  32. getfenv(dataManager.FireServer).i = oldI; --> Restore original function
  33. end;
  34.  
  35. local function getOrder(customer)
  36. if (not customer or (customer and not customer:FindFirstChild("Order"))) then return end;
  37.  
  38. if (stats.Job.Value == "StylezHairdresser") then
  39. local style = customer.Order:WaitForChild("Style").Value;
  40. local colour = customer.Order:WaitForChild("Color").Value;
  41.  
  42. return {style, colour};
  43. elseif (stats.Job.Value == "BloxyBurgersCashier") then
  44. local burger = customer.Order:WaitForChild("Burger").Value;
  45. local fries = customer.Order:WaitForChild("Fries").Value;
  46. local cola = customer.Order:WaitForChild("Cola").Value;
  47.  
  48. return {burger, fries, cola};
  49. end;
  50. end;
  51.  
  52. local bloxburg = library:CreateWindow("Bloxburg");
  53.  
  54. bloxburg:AddToggle({
  55. text = "Stylez Hairdresser";
  56. flag = "hairdresser";
  57. callback = function(enabled)
  58. if (not enabled) then return end;
  59.  
  60. if (stats.Job.Value ~= "StylezHairdresser") then
  61. jobManager:GoToWork("StylezHairdresser"); --> TP to job
  62. end;
  63.  
  64. repeat wait() until stats.Job.Value == "StylezHairdresser";
  65. 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();
  66.  
  67. while library.flags.hairdresser do
  68. local workstations = workspace.Environment.Locations.StylezHairStudio.HairdresserWorkstations;
  69. for i, v in next, workstations:GetChildren() do
  70. if (v.Occupied.Value) then
  71. fireServer({
  72. Type = "FinishOrder";
  73. Workstation = v;
  74. Order = getOrder(v.Occupied.Value);
  75. });
  76. end;
  77. end;
  78. wait();
  79. end;
  80. end;
  81. });
  82.  
  83. bloxburg:AddToggle({
  84. text = "Bloxy Burgers Cashier";
  85. flag = "cashier";
  86. callback = function(enabled)
  87. if (not enabled) then return end;
  88.  
  89. if (stats.Job.Value ~= "BloxyBurgersCashier") then
  90. jobManager:GoToWork("BloxyBurgersCashier"); --> TP to job
  91. end;
  92.  
  93. repeat wait() until stats.Job.Value == "BloxyBurgersCashier";
  94. 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();
  95.  
  96. while library.flags.cashier do
  97. local workstations = workspace.Environment.Locations.BloxyBurgers.CashierWorkstations;
  98. for i, v in next, workstations:GetChildren() do
  99. if (v.Occupied.Value) then
  100. fireServer({
  101. Type = "FinishOrder";
  102. Workstation = v;
  103. Order = getOrder(v.Occupied.Value);
  104. });
  105. end;
  106. end;
  107. wait();
  108. end;
  109. end;
  110. });
  111.  
  112. -- Load library
  113.  
  114. library:Init();
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. ANTI AFK
  122. wait(0.5)local ba=Instance.new("ScreenGui")
  123. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  124. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  125. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  126. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  127. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
  128. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti Afk"ca.TextColor3=Color3.new(0,1,1)
  129. ca.TextSize=22;da.Parent=ca
  130. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  131. da.Size=UDim2.new(0,370,0,107)_b.Parent=da
  132. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  133. _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by Headshot#5868"
  134. _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
  135. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
  136. ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Active"
  137. ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  138. game:service'Players'.LocalPlayer.Idled:connect(function()
  139. bb:CaptureController()bb:ClickButton2(Vector2.new())
  140. 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