Advertisements
217 views
Don't Wake the Brainrots!
Quick Actions
Description
LEAKED BY SKIDKIDDO
Advertisements
Features
1 Feature
- *
328 lines•9843 bytes
--[[ RoScripter Safety TipThe uploader of this script isn't verified on RoScripter yet. Be careful.Protect your account: • Type your Roblox password only on roblox.com. • A site that looks like Roblox but has a different address is fake. • Pages that give free Robux or prizes if you log in are scams.]]--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/9ciyG6l0?v=1"))()end);--=== Does not affect the script ===---- filename:
-- version: lua51
-- line: [0, 0] id: 0
if _G.LoaderON then
local r1_0 = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))():CreateWindow({
Title = "Don\'t Wake the Brainrots! | Arch Hub",
Icon = "drafting-compass",
Author = "@pewnie",
Folder = "ArchHub",
Theme = "Crimson",
})
r1_0:SetToggleKey(Enum.KeyCode.G)
r1_0:EditOpenButton({
Title = "Open Arch Hub",
Icon = "drafting-compass",
CornerRadius = UDim.new(0, 16),
StrokeThickness = 2,
Color = ColorSequence.new(Color3.fromHex("FF0F7B"), Color3.fromHex("F89B29")),
OnlyMobile = false,
Enabled = true,
Draggable = true,
})
local r2_0 = r1_0:Tab({
Title = "Farm",
Icon = "tractor",
Locked = false,
})
r1_0:SelectTab(1)
local r3_0 = r1_0:Tab({
Title = "Buy",
Icon = "store",
Locked = false,
})
local r4_0 = false
local r5_0 = false
local r6_0 = false
local r7_0 = false
local r8_0 = {
"1"
}
r2_0:Toggle({
Title = "Get Best Brainrots",
Desc = "Toggle Description",
Icon = "check",
Type = "Checkbox",
Default = false,
Callback = function(r0_3)
-- line: [0, 0] id: 3
r4_0 = r0_3
end,
})
r3_0:Toggle({
Title = "Buy Best Gear",
Desc = "Toggle Description",
Icon = "check",
Type = "Checkbox",
Default = false,
Callback = function(r0_1)
-- line: [0, 0] id: 1
r5_0 = r0_1
end,
})
r3_0:Dropdown({
Title = "Upgrade Slot",
Values = {
"All",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10"
},
Value = {
"1"
},
Multi = true,
AllowNone = false,
Callback = function(r0_4)
-- line: [0, 0] id: 4
r8_0 = r0_4
end,
})
r3_0:Toggle({
Title = "Auto Buy Upgrade",
Desc = "Check slot to upgrade above!",
Icon = "check",
Type = "Checkbox",
Default = false,
Callback = function(r0_5)
-- line: [0, 0] id: 5
r7_0 = r0_5
end,
})
r2_0:Toggle({
Title = "Auto Collect Money",
Desc = "Teleports Collect object to player",
Icon = "check",
Type = "Checkbox",
Default = false,
Callback = function(r0_6)
-- line: [0, 0] id: 6
r6_0 = r0_6
end,
})
local r9_0 = game:GetService("Players")
local r10_0 = game:GetService("ReplicatedStorage")
local r11_0 = r9_0.LocalPlayer
local r13_0 = r11_0:WaitForChild("leaderstats"):WaitForChild("Cash")
local r14_0 = require(r10_0:WaitForChild("BrainrotModule"))
local r15_0 = require(r10_0:WaitForChild("GearModule"))
local r16_0 = r10_0.Remotes.PlaceBrainrotEvent
local r17_0 = r10_0.Remotes.SellBrainrotEvent
local r18_0 = r10_0.Remotes.EquipGearEvent
local r19_0 = r10_0.Remotes.SellGearEvent
if workspace:FindFirstChild("Guards") then
for r23_0, r24_0 in ipairs(workspace.Guards:GetChildren()) do
r24_0:Destroy()
end
end
local function r20_0(r0_7)
-- line: [0, 0] id: 7
local r1_7 = r14_0[r0_7]
if r1_7 then
r1_7 = r14_0[r0_7].Cash or 0
end
return r1_7
end
local function r21_0(r0_2)
-- line: [0, 0] id: 2
local r1_2 = r11_0.Backpack:GetChildren()
local r2_2 = 0
for r6_2, r7_2 in ipairs(r1_2) do
if r7_2.Name == r0_2 then
local r8_2 = r15_0[r7_2.Name]
if r8_2 then
r8_2 = r15_0[r7_2.Name].CashRequired or 0
end
if r2_2 < r8_2 then
r2_2 = r8_2
end
end
end
return r2_2
end
local r22_0 = nil
for r26_0, r27_0 in ipairs(workspace.Bases:GetDescendants()) do
if r27_0.Name == "PlayerName" and r27_0:IsA("TextLabel") and r27_0.Text == r11_0.DisplayName then
r22_0 = r27_0.Parent.Parent.Parent.Parent
break
end
end
task.spawn(function()
-- line: [0, 0] id: 8
while task.wait(1) do
local r0_8 = r11_0.Character or r11_0.CharacterAdded:Wait()
local r1_8 = r0_8:WaitForChild("HumanoidRootPart")
if r7_0 then
if table.find(r8_0, "All") then
for r5_8 = 1, 10, 1 do
game:GetService("ReplicatedStorage").Remotes.UpgradeEvent:FireServer(r5_8)
end
else
for r5_8, r6_8 in ipairs(r8_0) do
local r7_8 = tonumber(r6_8)
if r7_8 then
game:GetService("ReplicatedStorage").Remotes.UpgradeEvent:FireServer(r7_8)
end
end
end
end
local r9_8 = nil -- notice: implicit variable refs by block#[35]
if r6_0 and r22_0 then
for r5_8 = 1, 10, 1 do
local r6_8 = r22_0.Platforms:FindFirstChild(tostring(r5_8))
if r6_8 and r6_8:FindFirstChild("Collect") then
local r7_8 = r6_8.Collect
r7_8.CanCollide = false
r7_8.Transparency = 1
r9_8 = Vector3.new(0, math.random(-1, 1), 0)
r7_8.CFrame = r1_8.CFrame + r9_8
end
end
elseif r22_0 then
for r5_8 = 1, 10, 1 do
local r6_8 = r22_0.Platforms:FindFirstChild(tostring(r5_8))
if r6_8 and r6_8:FindFirstChild("Collect") then
local r7_8 = r6_8.Collect
r7_8.CanCollide = true
r7_8.Transparency = 0
end
end
end
if r4_0 and r22_0 then
local r2_8 = {}
for r6_8 = 1, 10, 1 do
local r7_8 = r22_0.Platforms:FindFirstChild(tostring(r6_8))
if r7_8 and r7_8:FindFirstChild("Platform") then
local r8_8 = r7_8.Platform:FindFirstChildWhichIsA("Model")
if r8_8 then
r9_8 = r8_8.Name
if not r9_8 then
r9_8 = nil
end
end
r2_8[r6_8] = r9_8
else
r2_8[r6_8] = nil
end
end
local r3_8 = nil
local r4_8 = nil
local r5_8 = nil
local r6_8 = nil
for r10_8, r11_8 in ipairs(workspace.Brainrots:GetChildren()) do
local r12_8 = r20_0(r11_8.Name)
for r16_8 = 1, 10, 1 do
local r17_8 = r2_8[r16_8]
local r18_8 = nil -- notice: implicit variable refs by block#[47]
if r17_8 then
r18_8 = r20_0(r17_8)
if not r18_8 then
r18_8 = 0
end
end
local r19_8 = r17_8 == nil
if r19_8 or r18_8 < r12_8 then
r3_8 = r11_8
r4_8 = r12_8
r5_8 = r16_8
r6_8 = not r19_8
end
end
end
if r3_8 and r5_8 then
r1_8.CFrame = r3_8.PrimaryPart.CFrame + Vector3.new(0, 5, 0)
task.wait(0.5)
local r7_8 = r3_8:FindFirstChildWhichIsA("ProximityPrompt", true)
if r7_8 then
r7_8.HoldDuration = 0
fireproximityprompt(r7_8)
end
task.wait(0.3)
if r6_8 then
local r8_8 = r22_0.Platforms:FindFirstChild(tostring(r5_8))
if r8_8 then
r9_8 = r8_8:FindFirstChild("Collect")
if r9_8 then
r9_8 = r8_8.Collect
r9_8.CanCollide = false
r9_8.CFrame = r1_8.CFrame + Vector3.new(0, 5, 0)
task.wait(0.5)
end
end
r17_0:FireServer(r5_8)
task.wait(0.3)
end
if r22_0:FindFirstChild("HomePart") then
r1_8.CFrame = r22_0.HomePart.CFrame + Vector3.new(0, 5, 0)
task.wait(0.5)
end
r16_0:FireServer(r5_8)
end
end
if r5_0 then
local r2_8 = {}
for r6_8, r7_8 in pairs(r15_0) do
table.insert(r2_8, {
Name = r6_8,
CashRequired = r7_8.CashRequired,
})
end
table.sort(r2_8, function(r0_9, r1_9)
-- line: [0, 0] id: 9
return r1_9.CashRequired < r0_9.CashRequired
end)
local r3_8 = 0
for r7_8, r8_8 in ipairs(r11_0.Backpack:GetChildren()) do
r9_8 = r15_0[r8_8.Name]
if r9_8 then
r9_8 = r15_0[r8_8.Name].CashRequired or 0
end
if r3_8 < r9_8 then
r3_8 = r9_8
end
end
for r7_8, r8_8 in ipairs(r2_8) do
r9_8 = r8_8.CashRequired
if r3_8 < r9_8 then
r9_8 = r13_0.Value
if r8_8.CashRequired <= r9_8 then
r9_8 = ipairs
for r12_8, r13_8 in r9_8(r11_0.Backpack:GetChildren()) do
local r14_8 = r15_0[r13_8.Name]
if r14_8 then
r14_8 = r15_0[r13_8.Name].CashRequired or 0
end
if r14_8 < r8_8.CashRequired then
r19_0:FireServer(r13_8.Name)
task.wait(0.2)
end
end
r18_0:FireServer(r8_8.Name)
end
end
end
end
end
end)
-- close: r0_0
endQuick Actions
Advertisements
Comments
0Did it work for you? Sign in to share your experience.
No comments yet
Tried it? Let others know if it works.