local re = "https://raw.githubusercontent.com/deividcomsono/Obsidian/main/" local li = loadstring(game:HttpGet(re .. "Library.lua"))() local tm = loadstring(game:HttpGet(re .. "addons/ThemeManager.lua"))() local sm = loadstring(game:HttpGet(re .. "addons/SaveManager.lua"))() local op = li.Options local tg = li.Toggles local wi = li:CreateWindow({ Title = "Auto Poop Script", Footer = "version: 1.0", Icon = 95816097006870, NotifySide = "Right", ShowCustomCursor = true, }) local ta = { ma = wi:AddTab("Main", "zap"), us = wi:AddTab("UI Settings", "settings"), } local sr = false local pr = false local t1 = nil local t2 = nil local rs = game:GetService("ReplicatedStorage") local rm = rs.Packets.Packet.RemoteEvent local function s1() t1 = task.spawn(function() while sr do rm:FireServer(buffer.fromstring("\3\4")) task.wait() end end) end local function e1() if t1 then task.cancel(t1) t1 = nil end end local function s2() t2 = task.spawn(function() while pr do rm:FireServer(buffer.create(20)) task.wait(3) end end) end local function e2() if t2 then task.cancel(t2) t2 = nil end end local function mu() local py = game:GetService("Players") local lp = py.LocalPlayer local gu = lp.PlayerGui:WaitForChild("PoopUI") local cb = gu:WaitForChild("CatchBar") local bl = cb:WaitForChild("BarLine") local sl = bl:WaitForChild("Slider") local tr = sl:WaitForChild("Target") sl.Size = UDim2.new(1, 0, sl.Size.Y.Scale, 0) sl.Position = UDim2.new(0, 0, sl.Position.Y.Scale, 0) sl.AnchorPoint = Vector2.new(0, 0) sl.BackgroundColor3 = Color3.fromRGB(255, 0, 0) if tr then tr.BackgroundColor3 = Color3.fromRGB(255, 0, 0) end sl:GetPropertyChangedSignal("Position"):Connect(function() sl.Position = UDim2.new(0, 0, sl.Position.Y.Scale, 0) end) sl:GetPropertyChangedSignal("Size"):Connect(function() sl.Size = UDim2.new(1, 0, sl.Size.Y.Scale, 0) end) if tr then tr:GetPropertyChangedSignal("BackgroundColor3"):Connect(function() tr.BackgroundColor3 = Color3.fromRGB(255, 0, 0) end) end end local mg = ta.ma:AddLeftGroupbox("Auto Features", "zap") mg:AddToggle("AutoSellPoop", { Text = "Auto Sell Poop", Tooltip = "Toggle Auto Sell (Every Frame)", Default = false, Callback = function(v) sr = v if sr then li:Notify({Title = "Auto Sell", Description = "Enabled", Time = 3}) s1() else li:Notify({Title = "Auto Sell", Description = "Disabled", Time = 3}) e1() end end, }) mg:AddDivider() mg:AddToggle("AutoPoop", { Text = "Auto Poop", Tooltip = "Toggle Auto Poop (Every 3s)", Default = false, Callback = function(v) pr = v if pr then li:Notify({Title = "Auto Poop", Description = "Enabled", Time = 3}) s2() else li:Notify({Title = "Auto Poop", Description = "Disabled", Time = 3}) e2() end end, }) mg:AddDivider() mg:AddButton({ Text = "Make Slider All True", Tooltip = "Makes the slider full and red", Func = function() task.spawn(function() local ok, er = pcall(mu) if ok then li:Notify({Title = "Success", Description = "Slider Modified", Time = 3}) else li:Notify({Title = "Error", Description = tostring(er), Time = 5}) end end) end, }) mg:AddDivider() mg:AddLabel("Information:") mg:AddLabel("- Auto Sell: Sends every frame", true) mg:AddLabel("- Auto Poop: Sends every 3s", true) mg:AddLabel("- Slider: Full red modification", true) local ug = ta.us:AddLeftGroupbox("Menu", "wrench") ug:AddToggle("KeybindMenuOpen", { Default = li.KeybindFrame.Visible, Text = "Open Keybind Menu", Callback = function(v) li.KeybindFrame.Visible = v end, }) ug:AddToggle("ShowCustomCursor", { Text = "Custom Cursor", Default = true, Callback = function(v) li.ShowCustomCursor = v end, }) ug:AddDropdown("NotificationSide", { Values = { "Left", "Right" }, Default = "Right", Text = "Notification Side", Callback = function(v) li:SetNotifySide(v) end, }) ug:AddDivider() ug:AddLabel("Menu Keybind"):AddKeyPicker("MenuKeybind", { Default = "RightShift", NoUI = true, Text = "Menu Keybind" }) ug:AddButton("Unload Script", function() sr = false pr = false e1() e2() li:Unload() end) li.ToggleKeybind = op.MenuKeybind tm:SetLibrary(li) sm:SetLibrary(li) sm:IgnoreThemeSettings() sm:SetIgnoreIndexes({ "MenuKeybind" }) tm:SetFolder("AutoPoopScript") sm:SetFolder("AutoPoopScript/configs") sm:BuildConfigSection(ta.us) tm:ApplyToTab(ta.us) sm:LoadAutoloadConfig() li:OnUnload(function() sr = false pr = false e1() e2() end) li:Notify({ Title = "Auto Poop Script", Description = "Loaded Successfully", Time = 4, })