-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- ======================================================== -- Created by: By 7s31 x gimni -- UI Order: Always Top (DisplayOrder Maxed Out) -- ======================================================== -- Helper function to add UICorner easily local function addCorner(parent, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius) corner.Parent = parent return corner end -- Create ScreenGui local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local TitleBar = Instance.new("Frame") local Title = Instance.new("TextLabel") local Credits = Instance.new("TextLabel") local Container = Instance.new("ScrollingFrame") local UIListLayout = Instance.new("UIListLayout") -- Parent to CoreGui or PlayerGui & Set DisplayOrder to Max ScreenGui.Name = "AutoFarmGui" ScreenGui.DisplayOrder = 2147483647 -- يضمن الظهور فوق جميع الواجهات الأخرى بالكامل ScreenGui.ResetOnSpawn = false if syn and syn.protect_gui then syn.protect_gui(ScreenGui) ScreenGui.Parent = game:GetService("CoreGui") else local success, coreGui = pcall(function() return game:GetService("CoreGui") end) if success and coreGui then ScreenGui.Parent = coreGui else ScreenGui.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui") end end -- Main Frame Settings MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(22, 23, 30) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.35, 0, 0.2, 0) MainFrame.Size = UDim2.new(0, 320, 0, 420) MainFrame.Active = true MainFrame.Draggable = true addCorner(MainFrame, 12) -- Title Bar Top TitleBar.Name = "TitleBar" TitleBar.Parent = MainFrame TitleBar.BackgroundColor3 = Color3.fromRGB(28, 29, 38) TitleBar.BorderSizePixel = 0 TitleBar.Size = UDim2.new(1, 0, 0, 45) addCorner(TitleBar, 12) -- Fix TitleBar bottom corners local TitleBarFix = Instance.new("Frame") TitleBarFix.Parent = TitleBar TitleBarFix.BackgroundColor3 = Color3.fromRGB(28, 29, 38) TitleBarFix.BorderSizePixel = 0 TitleBarFix.Position = UDim2.new(0, 0, 0.7, 0) TitleBarFix.Size = UDim2.new(1, 0, 0.3, 0) -- Title Text Settings Title.Name = "Title" Title.Parent = TitleBar Title.BackgroundTransparency = 1.000 Title.Size = UDim2.new(1, 0, 1, 0) Title.Font = Enum.Font.SourceSansBold Title.Text = "Auto Farm Controller" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 20.000 -- Credits Settings Credits.Name = "Credits" Credits.Parent = MainFrame Credits.BackgroundTransparency = 1.000 Credits.Position = UDim2.new(0, 0, 1, -35) Credits.Size = UDim2.new(1, 0, 0, 30) Credits.Font = Enum.Font.SourceSansItalic Credits.Text = "By 7s31 x gimni" Credits.TextColor3 = Color3.fromRGB(160, 160, 175) Credits.TextSize = 16.000 -- Scroll Container Container.Name = "Container" Container.Parent = MainFrame Container.BackgroundTransparency = 1.000 Container.Position = UDim2.new(0, 15, 0, 55) Container.Size = UDim2.new(1, -30, 0, 325) Container.CanvasSize = UDim2.new(0, 0, 1.4, 0) Container.ScrollBarThickness = 4 Container.ScrollBarImageColor3 = Color3.fromRGB(60, 60, 75) UIListLayout.Parent = Container UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) -- Function to Create Buttons local function CreateToggleButton(text, globalVar, callback) local Button = Instance.new("TextButton") Button.Parent = Container Button.Size = UDim2.new(1, -6, 0, 50) Button.Font = Enum.Font.SourceSansBold Button.TextSize = 18.000 Button.BorderSizePixel = 0 addCorner(Button, 10) local function UpdateState() if _G[globalVar] then Button.BackgroundColor3 = Color3.fromRGB(46, 125, 50) Button.Text = text .. ": ON" else Button.BackgroundColor3 = Color3.fromRGB(186, 45, 45) Button.Text = text .. ": OFF" end Button.TextColor3 = Color3.fromRGB(255, 255, 255) end _G[globalVar] = false UpdateState() Button.MouseButton1Click:Connect(function() _G[globalVar] = not _G[globalVar] UpdateState() if _G[globalVar] and callback then task.spawn(callback) end end) end -- ======================================================== -- 1. Auto Sell -- ======================================================== CreateToggleButton("Auto Sell", "AutoSellActive", function() local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local sellBin = workspace:WaitForChild("SellZones"):WaitForChild("Can1"):WaitForChild("Bin") local prompt = sellBin:WaitForChild("ProximityPrompt") if prompt then prompt.HoldDuration = 0 end while _G.AutoSellActive do local Character = LocalPlayer.Character if Character and Character:FindFirstChild("HumanoidRootPart") then local rootPart = Character.HumanoidRootPart rootPart.CFrame = sellBin.CFrame * CFrame.new(0, 2, 0) task.wait(0.05) if prompt and prompt.Enabled then fireproximityprompt(prompt) end end task.wait(0.5) end end) -- ======================================================== -- 2. Reset Plot -- ======================================================== CreateToggleButton("Reset Plot", "ResetPlotOnly", function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local resetPlotRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("ResetPlotEvent") while _G.ResetPlotOnly do pcall(function() resetPlotRemote:FireServer() end) task.wait(0.1) end end) -- ======================================================== -- 3. Basement Upgrades -- ======================================================== CreateToggleButton("Auto Upgrades", "AutoBasementUpgrades", function() local Players = game:GetService("Players") local player = Players.LocalPlayer while _G.AutoBasementUpgrades do task.wait(0.2) local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") and character:FindFirstChildOfClass("Humanoid").Health > 0 then local hrp = character.HumanoidRootPart local basement = workspace:FindFirstChild("BasementUpgrades") if basement then local capacityBtn = basement:FindFirstChild("CapacityUpgradeButton") if capacityBtn then firetouchinterest(hrp, capacityBtn, 0) task.wait(0.005) firetouchinterest(hrp, capacityBtn, 1) end local multiplierBtn = basement:FindFirstChild("CashMultiplierUpgradeButton") if multiplierBtn then firetouchinterest(hrp, multiplierBtn, 0) task.wait(0.005) firetouchinterest(hrp, multiplierBtn, 1) end local luckyBtn = basement:FindFirstChild("LuckyUpgradeButton") if luckyBtn then firetouchinterest(hrp, luckyBtn, 0) task.wait(0.005) firetouchinterest(hrp, luckyBtn, 1) end else task.wait(0.5) end else task.wait(1) end end end) -- ======================================================== -- 4. Auto Rebirth -- ======================================================== CreateToggleButton("Auto Rebirth", "AutoRebirthOnly", function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local rebirthRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("RebirthEvent") while _G.AutoRebirthOnly do pcall(function() rebirthRemote:FireServer() end) task.wait(0.3) end end) -- ======================================================== -- 5. Leaf Farm (All Areas) -- ======================================================== CreateToggleButton("Auto Farm Leaves", "AllAreasSpyFarm", function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local leafRemote = ReplicatedStorage.Remotes.LeafPickedUp local args = { [1] = { [1] = {["AreaName"] = "Front Yard", ["IsLucky"] = false}, [2] = {["AreaName"] = "Front Yard", ["IsLucky"] = false}, [3] = {["AreaName"] = "Farm", ["IsLucky"] = false}, [4] = {["AreaName"] = "Farm", ["IsLucky"] = false}, [5] = {["AreaName"] = "Back Greenhouse", ["IsLucky"] = false}, [6] = {["AreaName"] = "Back Greenhouse", ["IsLucky"] = false}, [7] = {["AreaName"] = "Entrance", ["IsLucky"] = false}, [8] = {["AreaName"] = "Entrance", ["IsLucky"] = false}, [9] = {["AreaName"] = "Fountain of Rebirth", ["IsLucky"] = false}, [10] = {["AreaName"] = "Fountain of Rebirth", ["IsLucky"] = false}, [11] = {["AreaName"] = "Front Greenhouse", ["IsLucky"] = false}, [12] = {["AreaName"] = "Front Greenhouse", ["IsLucky"] = false}, [13] = {["AreaName"] = "Garage", ["IsLucky"] = false}, [14] = {["AreaName"] = "Garage", ["IsLucky"] = false}, [15] = {["AreaName"] = "Garden", ["IsLucky"] = false}, [16] = {["AreaName"] = "Garden", ["IsLucky"] = false}, [17] = {["AreaName"] = "Grand Tree", ["IsLucky"] = false}, [18] = {["AreaName"] = "Grand Tree", ["IsLucky"] = false}, [19] = {["AreaName"] = "Hedge Maze", ["IsLucky"] = false}, [20] = {["AreaName"] = "Hedge Maze", ["IsLucky"] = false}, [21] = {["AreaName"] = "Playground", ["IsLucky"] = false}, [22] = {["AreaName"] = "Playground", ["IsLucky"] = false}, [23] = {["AreaName"] = "Pool", ["IsLucky"] = false}, [24] = {["AreaName"] = "Pool", ["IsLucky"] = false}, [25] = {["AreaName"] = "Porch", ["IsLucky"] = false}, [26] = {["AreaName"] = "Porch", ["IsLucky"] = false}, [27] = {["AreaName"] = "Shed", ["IsLucky"] = false}, [28] = {["AreaName"] = "Shed", ["IsLucky"] = false}, [29] = {["AreaName"] = "TennisCourt", ["IsLucky"] = false}, [30] = {["AreaName"] = "TennisCourt", ["IsLucky"] = false} } } while _G.AllAreasSpyFarm do pcall(function() leafRemote:FireServer(unpack(args)) end) task.wait(0.01) end end)