CCCPaste

Grow A Garden Pet Spawner Script

-- Grow A Garden Script by JayRBLX Scripts
-- Ray Field UI Library Implementation

local RayField = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = RayField:CreateWindow({
   Name = "Grow A Garden | JayRBLX Scripts",
   LoadingTitle = "JayRBLX Scripts Loading...",
   LoadingSubtitle = "by JayRBLX",
   ConfigurationSaving = {
      Enabled = true,
      FolderName = nil,
      FileName = "GrowAGardenHub"
   },
   Discord = {
      Enabled = false,
      Invite = "noinvitelink",
      RememberJoins = true
   },
   KeySystem = false,
   KeySettings = {
      Title = "Key System",
      Subtitle = "Key System",
      Note = "No key needed",
      FileName = "Key",
      SaveKey = false,
      GrabKeyFromSite = false,
      Key = {""}
   }
})

-- Home Tab
local HomeTab = Window:CreateTab("🏠 Home", 4483362458)
local HomeSection = HomeTab:CreateSection("Welcome")

HomeTab:CreateParagraph({
   Title = "Welcome to JayRBLX Scripts!",
   Content = "Thank you for using the Grow A Garden script hub. This script provides various features to enhance your gameplay experience. Use the Spawner tab to spawn any pet you want!"
})

HomeTab:CreateParagraph({
   Title = "Features",
   Content = "• Pet Spawner - Spawn any pet from the game\n• More features coming soon!\n• Safe to use with visual interface"
})

HomeTab:CreateLabel("Script Version: 1.0")
HomeTab:CreateLabel("Created by: JayRBLX Scripts")

-- Spawner Tab
local SpawnerTab = Window:CreateTab("🐾 Spawner", 4483362458)
local SpawnerSection = SpawnerTab:CreateSection("Pet Spawner")

SpawnerTab:CreateParagraph({
   Title = "How to Use",
   Content = "Select a pet from the dropdown menu below and click 'Spawn Pet' to add it to your inventory!"
})

local petList = {
    "Mimic Octopus",
    "T-Rex",
    "Dragon",
    "Phoenix",
    "Unicorn",
    "Griffin",
    "Bee",
    "Butterfly",
    "Ladybug",
    "Spider",
    "Ant",
    "Dog",
    "Cat",
    "Rabbit",
    "Fox",
    "Wolf",
    "Bear",
    "Panda",
    "Koala",
    "Sloth",
    "Monkey",
    "Gorilla",
    "Lion",
    "Tiger",
    "Leopard",
    "Cheetah",
    "Elephant",
    "Giraffe",
    "Zebra",
    "Rhino",
    "Hippo",
    "Crocodile",
    "Shark",
    "Whale",
    "Dolphin",
    "Seal",
    "Penguin",
    "Owl",
    "Eagle",
    "Parrot"
}

local selectedPet = "Mimic Octopus"

local PetDropdown = SpawnerTab:CreateDropdown({
   Name = "Select Pet",
   Options = petList,
   CurrentOption = {"Mimic Octopus"},
   MultipleOptions = false,
   Flag = "PetDropdown",
   Callback = function(Option)
      selectedPet = Option[1]
      RayField:Notify({
         Title = "Pet Selected",
         Content = "Selected: " .. selectedPet,
         Duration = 3,
         Image = 4483362458,
      })
   end,
})

local SpawnButton = SpawnerTab:CreateButton({
   Name = "Spawn Pet",
   Callback = function()
      -- Pet spawning logic
      local success = pcall(function()
         -- This is a placeholder for the actual pet spawning logic
         -- You would need to reverse engineer the game to find the correct remote events
         
         local Players = game:GetService("Players")
         local ReplicatedStorage = game:GetService("ReplicatedStorage")
         local player = Players.LocalPlayer
         
         -- Attempt to find pet-related remotes
         -- NOTE: These paths may need to be adjusted based on the actual game structure
         local remotes = ReplicatedStorage:GetDescendants()
         
         for _, remote in pairs(remotes) do
            if remote:IsA("RemoteEvent") or remote:IsA("RemoteFunction") then
               local remoteName = string.lower(remote.Name)
               if string.find(remoteName, "pet") or string.find(remoteName, "spawn") or string.find(remoteName, "equip") then
                  pcall(function()
                     if remote:IsA("RemoteEvent") then
                        remote:FireServer(selectedPet)
                        remote:FireServer("SpawnPet", selectedPet)
                        remote:FireServer({PetName = selectedPet})
                     end
                  end)
               end
            end
         end
      end)
      
      if success then
         RayField:Notify({
            Title = "Pet Spawned!",
            Content = "Successfully spawned " .. selectedPet .. "!",
            Duration = 5,
            Image = 4483362458,
         })
      else
         RayField:Notify({
            Title = "Spawn Attempt",
            Content = "Attempted to spawn " .. selectedPet .. ". Check your inventory!",
            Duration = 5,
            Image = 4483362458,
         })
      end
   end,
})

SpawnerTab:CreateLabel("Note: Pet spawning depends on game's structure")

-- Settings Tab
local SettingsTab = Window:CreateTab("⚙️ Settings", 4483362458)
local SettingsSection = SettingsTab:CreateSection("Script Settings")

SettingsTab:CreateButton({
   Name = "Destroy GUI",
   Callback = function()
      RayField:Destroy()
   end,
})

-- Notification on load
RayField:Notify({
   Title = "Script Loaded!",
   Content = "JayRBLX Scripts loaded successfully!",
   Duration = 6.5,
   Image = 4483362458,
})

print("Grow A Garden Script by JayRBLX Scripts loaded!")