Dumped
Key RequiredUniversal

Dumped

Universal ScriptNINENINE 1.5K views 10 executesUpdated May 22, 2025
Unrated
00
Lua Script•255 lines (7423 chars)
local game = game
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local workspace = workspace
local CurrentCamera = workspace.CurrentCamera
local Part = Instance.new("Part", workspace)
Part.Size = Vector3.one
Part.CanCollide = false
Part.Anchored = true
Part.Transparency = 1
CurrentCamera.CameraSubject = Part

local LocalPlayer = Players.LocalPlayer
local leaderstats = LocalPlayer:WaitForChild("leaderstats")
local Sheckles = leaderstats:WaitForChild("Sheckles")
local Farm = workspace:WaitForChild("Farm")
local GameEvents = ReplicatedStorage:WaitForChild("GameEvents")
local Plant_RE = GameEvents:WaitForChild("Plant_RE")
local Remove_Item = GameEvents:WaitForChild("Remove_Item")
local Sell_Inventory = GameEvents:WaitForChild("Sell_Inventory")
local BuySeedStock = GameEvents:WaitForChild("BuySeedStock")
local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")

local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
local Window = Rayfield:CreateWindow({
    Name = "Grow a Garden | discord.gg/bNtytyqBBe",
    Icon = 0,
    LoadingTitle = "Rayfield Interface Suite",
    LoadingSubtitle = "by Sirius",
    Theme = "Default",
    DisableRayfieldPrompts = false,
    DisableBuildWarnings = false,
    ConfigurationSaving = {
        Enabled = true,
        FolderName = "Grow a Garden",
        FileName = "hlware"
    },
    Discord = {
        Enabled = true,
        Invite = "bNtytyqBBe",
        RememberJoins = false
    },
    KeySystem = false,
    KeySettings = {
        Title = "Key",
        Subtitle = "discord.gg/bNtytyqBBe",
        Note = "Join our discord and get the key!",
        FileName = "Key",
        SaveKey = true,
        GrabKeyFromSite = false,
        Key = {""}
    }
})

local AutoTab = Window:CreateTab("Automatic Systems", 4483362458)
local NotesTab = Window:CreateTab("Notes", 4483362458)

local AutoSection = AutoTab:CreateSection("Auto")
local CropPrices = {
    Carrot = 10,
    Strawberry = 50,
    Blueberry = 400,
    Orange = 600,
    Tomato = 800,
    Corn = 1300,
    Daffodil = 1000,
    Watermelon = 2500,
    Pumpkin = 3000,
    Apple = 3250,
    Bamboo = 4000,
    Coconut = 6000,
    Cactus = 15000,
    Dragon = 500000
}
local AutoSellInventory = false
local MinimumPlantsToSell = 1
local AutoBuy = {"Carrot"}
local EnableAutoBuy = false
local AutoPlant = false
local AutoCollect = false
local AutoFarm = false

local function getOwner()
    for _, v in pairs(Farm:GetChildren()) do
        if v:FindFirstChild("Important") and v.Important:FindFirstChild("Data") and v.Important.Data:FindFirstChild("Owner") and v.Important.Data.Owner.Value == LocalPlayer.Name then
            return v
        end
    end
end

local function toggleAutoFarm(value)
    AutoFarm = value
    AutoTab:Set(value)
    AutoVenderInventarioUIBackup:Set(value)
    EnableAutoBuy:Set(value)
    AutoPlant:Set(value)
end

AutoTab:CreateToggle({
    Name = "Auto sell inventory",
    CurrentValue = AutoSellInventory,
    Flag = "AutoSellInventory",
    Callback = function(value)
        AutoSellInventory = value
    end
})

AutoTab:CreateSlider({
    Name = "Minimum plants to sell",
    Range = {1, 150},
    Increment = 1,
    Suffix = "plants",
    CurrentValue = MinimumPlantsToSell,
    Flag = "MinimumPlantsToSell",
    Callback = function(value)
        MinimumPlantsToSell = value
    end
})

AutoTab:CreateDivider()

AutoTab:CreateDropdown({
    Name = "Auto buy",
    Options = {
        "Carrot",
        "Strawberry",
        "Blueberry",
        "Orange",
        "Tomato",
        "Corn",
        "Daffodil",
        "Watermelon",
        "Pumpkin",
        "Apple",
        "Bamboo",
        "Coconut",
        "Cactus",
        "Dragon"
    },
    CurrentOption = AutoBuy,
    MultipleOptions = true,
    Flag = "AutoBuy",
    Callback = function(value)
        AutoBuy = value
    end
})

AutoTab:CreateToggle({
    Name = "Enable auto buy",
    CurrentValue = EnableAutoBuy,
    Flag = "EnableAutoBuy",
    Callback = function(value)
        EnableAutoBuy = value
    end
})

AutoTab:CreateDivider()

AutoTab:CreateToggle({
    Name = "Auto plant",
    CurrentValue = AutoPlant,
    Flag = "AutoPlant",
    Callback = function(value)
        AutoPlant = value
    end
})

AutoTab:CreateToggle({
    Name = "Auto collect",
    CurrentValue = AutoCollect,
    Flag = "AutoCollect",
    Callback = function(value)
        AutoCollect = value
    end
})

AutoTab:CreateDivider()

AutoTab:CreateToggle({
    Name = "Auto farm",
    CurrentValue = AutoFarm,
    Flag = "AutoFarm",
    Callback = toggleAutoFarm
})

NotesTab:CreateParagraph({
    Title = "Notes",
    Content = "Autocollect will collect all plants near to you\nautofarm will toggle everything on and will teleport you to the plants\nrecommended to use autobuy with autofarm if you go afk farming\njoin our community discord.gg/bNtytyqBBe!"
})

Rayfield:LoadConfiguration()

task.spawn(function()
    while task.wait(2) do
        if EnableAutoBuy then
            for _, crop in pairs(AutoBuy) do
                BuySeedStock:FireServer(crop, CropPrices[crop])
                task.wait(10)
            end
        end
    end
end)

task.spawn(function()
    while true do
        if AutoSellInventory then
            for _, item in pairs(Backpack:GetChildren()) do
                if item.Name:find("kg") then
                    local quantity = item:GetAttribute("Quantity") or 1
                    if quantity >= MinimumPlantsToSell then
                        Sell_Inventory:FireServer(item)
                    end
                end
            end
            task.wait(2)
        end
        RunService.Heartbeat:Wait()
    end
end)

RunService.RenderStepped:Connect(function()
    if AutoCollect or AutoFarm then
        CurrentCamera.CameraSubject = Part
        local ownerFarm = getOwner()
        if ownerFarm then
            for _, prompt in pairs(ownerFarm.Important.Plants_Physical:GetDescendants()) do
                if prompt:IsA("ProximityPrompt") and prompt.Enabled then
                    CurrentCamera.CameraSubject = prompt.Parent
                    prompt.MaxActivationDistance = math.random(prompt.MaxActivationDistance, prompt.MaxActivationDistance + 2)
                    fireproximityprompt(prompt)
                    task.wait(2)
                    CurrentCamera.CameraSubject = prompt.Parent
                end
            end
        end
    end
    if AutoPlant or AutoFarm then
        local character = LocalPlayer.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            local head = character:FindFirstChild("Head")
            local rootPart = character:FindFirstChild("HumanoidRootPart")
            if humanoid and head and rootPart then
                for _, child in pairs(character:GetChildren()) do
                    if child:IsA("Tool") and child.Name:lower():find("seed") then
                        local seedName = child.Name:match("^(%S+)")
                        Plant_RE:FireServer(ownerFarm.Important.Plant_Locations.Can_Plant.Position + Vector3.new(math.random(-14, 14), 0, math.random(3, 22)), seedName)
                        task.wait(math.random(1, 2))
                    end
                end
            end
        end
    end
end)

Features & Information

Discord server is the server for the original script. This script was NOT made by me, but I got the raw. Use with or without permission, use how you like.
#Dumped

Community Comments (2)

@NINE what is this script for?

noiseyesnoiseyesMay 23, 2025

@xxstarbucksloverxx3 grow a garden

More Scripts for Universal Scripts