GROW A GARDEN SCRIPT LUA SCRIPTS | CODE LINES - GLOCK =32 JK947.FOLLOW ME.LUA

By SkibidiScript (@SkibidiScript)

View and share code snippets on Pastefy.

-- GROW A GARDEN DUPE - NO KEY SYSTEM + Easter Shop
local nameofthescript = "GROW A GARDEN DUPE"
local thenote = "Welcome!"

-- Services
local Players = game:GetService("Players")
local HttpService = game:GetService("HttpService")
local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayer

-- Local Save/Load Functions
local function saveToFile(name, data)
    writefile(name .. ".json", HttpService:JSONEncode(data))
end

local function loadFromFile(name)
    if isfile(name .. ".json") then
        local raw = readfile(name .. ".json")
        return HttpService:JSONDecode(raw)
    else
        return {}
    end
end

-- Easter Shop Items and prices (¢)
local EasterItems = {
    ["Chocolate Carrot"] = {price = 10000, type = "seed"},
    ["Red Lollipop"] = {price = 45000, type = "seed"},
    ["Candy Sunflower"] = {price = 75000, type = "seed"},
    ["Easter Egg"] = {price = 500000, type = "item"},
    ["Chocolate Sprinkler"] = {price = 500000, type = "item"},
    ["Candy Blossom"] = {price = 10000000, type = "seed"},
}

-- Player data tables
local inventory = {}
local planted = {}
local currency = 0

-- Save/load data
local function saveData()
    saveToFile("gg_inventory", inventory)
    saveToFile("gg_planted", planted)
    saveToFile("gg_currency", {value = currency})
end

local function loadData()
    inventory = loadFromFile("gg_inventory")
    planted = loadFromFile("gg_planted")
    local curr = loadFromFile("gg_currency")
    currency = curr.value or 0
end

-- GUI Elements --
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "GrowGardenGui"
ScreenGui.Parent = CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

-- Main UI Frame
local MainUI = Instance.new("Frame")
MainUI.Name = "MainUI"
MainUI.Parent = ScreenGui
MainUI.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
MainUI.Position = UDim2.new(0.4, 0, 0.35, 0)
MainUI.Size = UDim2.new(0.2, 0, 0.3, 0)
MainUI.Active = true
MainUI.Draggable = true
Instance.new("UICorner", MainUI)

-- Title
local title = Instance.new("TextLabel")
title.Parent = MainUI
title.BackgroundTransparency = 1
title.Size = UDim2.new(1, 0, 0.2, 0)
title.Font = Enum.Font.GothamBold
title.Text = thenote
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.TextScaled = true

-- Script Name
local scriptname = Instance.new("TextLabel")
scriptname.Parent = MainUI
scriptname.BackgroundTransparency = 1
scriptname.Position = UDim2.new(0, 0, 0.2, 0)
scriptname.Size = UDim2.new(1, 0, 0.1, 0)
scriptname.Font = Enum.Font.Gotham
scriptname.Text = nameofthescript
scriptname.TextColor3 = Color3.fromRGB(255, 255, 255)
scriptname.TextScaled = true

-- Made By (Rainbow Text)
local madeby = Instance.new("TextLabel")
madeby.Parent = MainUI
madeby.BackgroundTransparency = 1
madeby.Position = UDim2.new(0, 0, 0.32, 0)
madeby.Size = UDim2.new(1, 0, 0.1, 0)
madeby.Font = Enum.Font.GothamBold
madeby.Text = "Made by: @SkibidiScript"
madeby.TextColor3 = Color3.fromRGB(255, 0, 0)
madeby.TextScaled = true

-- Rainbow Effect
task.spawn(function()
    while true do
        madeby.TextColor3 = Color3.fromHSV(tick() % 5 / 5, 1, 1)
        task.wait(0.1)
    end
end)

-- Easter Shop Button
local EasterShopBtn = Instance.new("TextButton")
EasterShopBtn.Parent = ScreenGui
EasterShopBtn.Text = "Easter Shop"
EasterShopBtn.Size = UDim2.new(0, 140, 0, 40)
EasterShopBtn.Position = UDim2.new(0, 10, 0, 10)
EasterShopBtn.BackgroundColor3 = Color3.fromRGB(255, 128, 0)
EasterShopBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
EasterShopBtn.Font = Enum.Font.GothamBold
EasterShopBtn.TextScaled = true
Instance.new("UICorner", EasterShopBtn)

-- Easter Shop GUI
local EasterShopGui = Instance.new("Frame")
EasterShopGui.Name = "EasterShopGui"
EasterShopGui.Parent = ScreenGui
EasterShopGui.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
EasterShopGui.Size = UDim2.new(0.3, 0, 0.5, 0)
EasterShopGui.Position = UDim2.new(0.35, 0, 0.25, 0)
EasterShopGui.Visible = false
EasterShopGui.Active = true
EasterShopGui.Draggable = true
Instance.new("UICorner", EasterShopGui)

-- Easter Shop Title
local easterTitle = Instance.new(

Tags

dupe easter-shop grow-a-garden lang-lua script