Lemonade Prompt Builder

Complete prompt builder for Lemonade AI with advanced features

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Silverfox0338
日安装量
5
总安装量
15
评分
0 0 0
版本
8.8.3.1
创建于
2025-11-28
更新于
2025-11-30
大小
157.4 KB
许可证
CC-BY-NC-ND-4.0
适用于

📌 Overview

A powerful TamperMonkey userscript that transforms your Lemonade.gg workflow with intelligent prompt generation, template management, and AI-powered file referencing for Roblox script development.


⚡ Quick Start

  1. Install TamperMonkey browser extension
  2. Create new script and paste the code
  3. Visit lemonade.gg/code/*
  4. Click the blue "Prompt Builder" button (bottom-left)
  5. Press Ctrl+Shift+P anywhere to open instantly

🎯 Core Features

NEW in v8.8.3: File References

  • @ Mentions: Type @ in ANY text field to reference files/scripts from Lemonade's file system
  • Smart Autocomplete: Mirrors your input to Lemonade's chat to trigger their native file picker
  • Live Extraction: Automatically extracts and displays available files in a custom dropdown
  • Seamless Integration: Select files with mouse or keyboard (↑↓ + Enter)
  • Zero Configuration: Works instantly - no setup needed
  • Cross-System: References any script, module, or asset from your Lemonade workspace

How It Works:

  1. Type @ in any Builder text field
  2. Script mirrors input to Lemonade's chat (hidden process)
  3. Lemonade's system shows available files
  4. Builder extracts file list and shows custom dropdown
  5. Select file → instantly inserted as @FileName
  6. Lemonade chat is automatically cleared after selection

20+ Pre-built Templates

  • Large Systems: Inventory, Shop, Combat, DataStore, Leaderstats
  • Bug Fixes: Fix bugs, optimize code, add features
  • UI Systems: Menus, HUDs, notifications, settings, inventory GUIs
  • Gameplay Features: Teams, teleportation, admin commands, animations
  • Multiplayer: Party systems, trading, friends, leaderboards
  • Game Modes: Round-based, battle royale, tycoon, obby, tag games
  • World Features: Day/night cycles, weather, zones, teleporter networks
  • Utilities: Chat commands, sound manager, server messages

Smart Form Validation

  • Required field checking with visual feedback
  • Conditional field display (fields appear/hide based on selections)
  • Real-time prompt preview
  • Character/word count tracking
  • Input error highlighting

Prompt History & Favorites

  • Auto-save all generated prompts (max 50)
  • Mark favorites with star (★)
  • NEW: Expandable prompt previews (click to expand/collapse)
  • Search through history with instant filtering
  • Rename prompts with custom names
  • Export/import backup data
  • Delete individual prompts
  • One-click reuse

Auto-Submit

  • Toggle in Settings tab
  • Adjustable delay (100-3000ms)
  • Automatically sends prompt after insertion
  • Smart button detection

Themes

  • Dark mode (default)
  • Light mode
  • Toggle in Settings tab
  • Persistent preference

📋 Keyboard Shortcuts

Shortcut Action
Ctrl+Shift+P Open/close Prompt Builder
Escape Close any modal/dropdown
@ Trigger file autocomplete (in text fields)
Enter or Tab Accept selected file suggestion
Arrow Up/Down Navigate file suggestions
Escape (in dropdown) Close file autocomplete

🎨 Template Categories

1. LARGE SYSTEMS

Complete game systems from scratch

  • Inventory System

    • Configurable slots (default: 20)
    • Stackable items (max stack size)
    • Drag-and-drop support
    • DataStore persistence
    • Custom features (search, filters, sorting)
  • Shop/Store System

    • Custom currency name
    • GUI Menu, NPC Vendor, or Both
    • Category tabs
    • Purchase confirmations
    • DataStore integration
  • Combat System

    • Melee, Ranged, Magic, or Hybrid
    • Hit detection (Raycast, Region3, Touched)
    • Attack cooldowns
    • Animations and VFX
    • Damage validation
  • DataStore Manager

    • Custom data types
    • Auto-save frequency (1min, 5min, on leave)
    • Default data templates
    • Error handling with pcall
  • Leaderstats System

    • Multiple stats display
    • Optional DataStore persistence
    • IntValue/StringValue support
  • Custom Large System

    • Fully customizable
    • Define purpose, features, GUI requirements

2. BUG FIXES & CHANGES

Fix issues or modify existing code

  • Fix Specific Bug

    • Describe affected system
    • What's broken vs expected behavior
    • Include error messages
    • Targeted solutions
  • Performance Optimization

    • Lag/Low FPS fixes
    • Memory leak detection
    • Slow script improvements
    • Best practices implementation
  • Add Feature to Existing Code

    • Extend functionality
    • Preserve existing behavior
    • Incremental updates

3. UI & INTERFACE

GUIs, menus, and visual interfaces

  • Main Menu

    • Custom buttons
    • Modern/Minimal/Classic styles
    • Smooth tweens, simple, or no animations
    • Centered layouts
  • HUD/Overlay

    • Health bars, coin counters, etc.
    • Top/Bottom/Corners positioning
    • Live data updates
  • Notification System

    • Multiple types (Success, Error, Warning)
    • Custom display duration
    • Auto-stacking notifications
    • Color-coded messages
  • Inventory GUI

    • Grid/List/Hotbar layouts
    • Visible slot configuration
    • Drag-and-drop support
    • Item tooltips
  • Settings Menu

    • Custom settings list
    • Sliders, toggles, dropdowns
    • Optional DataStore saving
    • Apply settings on change

4. GAMEPLAY FEATURES

Common game mechanics and player systems

  • Team System

    • Multiple teams
    • Auto-assign (Random, Balanced, Manual)
    • Custom team colors
    • Friendly fire control
    • Team spawn points
  • Teleportation System

    • Part Proximity, GUI Button, Command, or All
    • Multiple destinations
    • Cooldown system
    • Visual effects (particles, fade)
  • Admin Commands

    • Custom admin list (UserIds)
    • Commands: Kick, Teleport, Give, Speed, Kill, Heal, Announce
    • Custom prefix (default: :)
    • Action logging
  • Animation Controller

    • Tool/Weapon, Emotes, or Custom Movement
    • Multiple animations
    • Priority settings (Action, Movement, Core)
    • Optional keyboard controls
  • Achievement System

    • Custom achievements
    • Notification popups
    • Optional rewards (coins/items)
    • DataStore persistence
  • Proximity Interaction

    • Collect items, open doors, talk to NPCs, activate objects
    • Custom prompt text
    • Interaction range
    • Hold duration support
    • CollectionService tagging

5. MULTIPLAYER & SOCIAL

Player interaction and social features

  • Party/Group System

    • Configurable max party size
    • Leader privileges (kick, invite, start games)
    • Party-only chat
    • Party GUI
  • Player Trading System

    • Trade inventory items, currency, pets, weapons
    • Max trade distance
    • Confirmation types (both confirm, countdown, instant)
    • Validation and security
  • In-Game Friends System

    • See online friends
    • Friend requests
    • Join friend server
    • Gift items
    • Max friends limit
    • DataStore persistence
  • Global Leaderboard

    • Custom stat tracking
    • Top N players (configurable)
    • Real-time or periodic updates
    • Server-only or Global (OrderedDataStore)

6. GAME MODES

Complete game mode systems

  • Round-Based Game

    • Round duration and intermission
    • Minimum players to start
    • Win conditions (last alive, most points, time)
    • Winner rewards
    • Status tracking
  • Battle Royale Mode

    • Shrinking safe zone
    • Random loot spawns
    • Minimum players
    • Spectate after death
    • Zone damage
  • Tycoon Game

    • Claim methods (touch, GUI, automatic)
    • Money generation (droppers, passive, both)
    • Max tycoons
    • DataStore progress saving
    • Purchase system
  • Obby/Parkour Course

    • Multiple stages
    • Checkpoint system
    • Completion timer
    • Kill bricks
    • Stage completion rewards
  • Tag/Chase Game

    • Classic Tag, Freeze Tag, or Infection
    • Round duration
    • Tagger speed boost
    • Temporary safe zones
    • Team mechanics

7. WORLD & ENVIRONMENT

Day/night cycles, weather, and world systems

  • Day/Night Cycle

    • Configurable cycle length (minutes)
    • Starting time (Dawn, Noon, Dusk, Midnight)
    • Dynamic lighting changes
    • Time-based effects (street lights, NPCs)
  • Dynamic Weather System

    • Rain, Snow, Fog, Thunderstorm, Sunny
    • Random weather changes
    • Change interval
    • Visual effects or gameplay impact
  • Map Zones/Regions

    • Named zones
    • Zone effects (name display, features, buffs/debuffs)
    • Entry/exit notifications
    • Colored boundaries
  • Teleporter Network

    • Multiple teleporter locations
    • Touch, ProximityPrompt, or GUI activation
    • Cooldown system
    • Teleport effects

8. UTILITIES & HELPERS

Helper systems and convenience tools

  • Player Chat Commands

    • Custom commands list
    • Custom prefix (default: /)
    • Feedback via chat or GUI
    • Cooldown system
  • Sound Manager

    • Sound categories (Music, SFX, Ambience)
    • Player volume controls
    • Persistent volume preferences
    • PlaySound() function
  • Server Message System

    • Message types (Announcements, Warnings, Tips, Events)
    • Display methods (banner, center, chat)
    • Custom duration
    • Color-coded types

💾 Data Management

Export All Data

Downloads JSON backup containing:

  • All prompt history
  • Favorites list
  • Template usage statistics
  • Settings preferences
  • Export timestamp and version

Import Data

  • Restore from previous backup
  • Overwrites current data (with confirmation)
  • Compatible with all v8.x backups

Clear All History

  • Nuclear option - removes everything
  • Cannot be undone
  • Confirmation required

🔧 Settings Options

APPEARANCE

  • Theme: Dark/Light mode toggle
  • Persistent across sessions

AUTOMATION

  • Auto-Submit Prompts: On/Off toggle
  • Auto-Submit Delay: 100-3000ms slider
  • Automatically sends prompt after insertion

FILE REFERENCES

  • @ File Mentions: Live status indicator
  • How It Works: Detailed explanation of mirroring system
  • Works with Lemonade's native file picker
  • Automatic extraction and custom dropdown

DATA MANAGEMENT

  • Export/Import/Clear options
  • View statistics:
    • Total prompts created
    • Favorited prompts
    • Most used template

🎮 Usage Examples

Example 1: Create Inventory System

  1. Open builder (Ctrl+Shift+P)
  2. Click "Large Systems"
  3. Click "Inventory System"
  4. Fill in slots: 20
  5. Stackable items: Yes
  6. Max stack: 64
  7. Drag-and-drop: Yes
  8. DataStore: Yes
  9. Click "Insert Prompt"

Example 2: Fix a Bug

  1. Open builder
  2. Click "Bug Fixes & Changes"
  3. Click "Fix Specific Bug"
  4. System: "Shop GUI"
  5. Bug: "Purchase buttons don't respond"
  6. Expected: "Clicking Buy should deduct coins and grant item"
  7. Paste error from Output window
  8. Click "Insert Prompt"

Example 3: Reference Files with @ Mentions

  1. Open any template form
  2. In a text field, type @
  3. Wait for file dropdown to appear (1-2 seconds)
  4. Type to filter: @Inven
  5. Use arrow keys to select InventoryManager
  6. Press Enter or click to insert
  7. Result: @InventoryManager added to your prompt
  8. Continue typing: "Fix the bug in @InventoryManager where items don't stack properly"

Example 4: Create Admin System with File References

  1. Open "Admin Commands System"
  2. Admin IDs: 123456789, 987654321
  3. Commands: Check all desired commands
  4. Prefix: :
  5. In "Additional Features" field, type: Integrate with @PlayerData script to check admin status Log all actions to @AdminLogger module Use @NotificationSystem for feedback
  6. Click "Insert Prompt"

🔍 File Detection System (v8.8.3)

How @ File Mentions Work

Step-by-Step Process:

  1. Trigger: Type @ in any Builder text field
  2. Mirror: Script copies your input to Lemonade's chat textarea
  3. Lemonade Response: Lemonade's native system shows file picker dropdown
  4. Extract: Builder scans and extracts file list from Lemonade's dropdown
  5. Display: Custom styled dropdown shows extracted files
  6. Select: Click or use keyboard to choose file
  7. Insert: File reference inserted as @FileName
  8. Cleanup: Lemonade chat automatically cleared

Technical Details:

  • Uses native textarea setter to bypass React
  • Dispatches input/change events to trigger Lemonade's handlers
  • Polls Lemonade's dropdown every 300ms (max 3 attempts)
  • Extracts file names and paths from DOM elements
  • Focuses back to Builder input after selection
  • Clears Lemonade chat with 500ms delay to avoid conflicts

File Information Displayed:

  • File name
  • File path (if available)
  • File type icon (📜 for scripts, 📦 for modules)
  • Total file count in footer

Keyboard Navigation:

  • / - Navigate suggestions
  • Enter or Tab - Accept selection
  • Escape - Close dropdown
  • Type to filter files in real-time

⚠️ Troubleshooting

Q: Prompt Builder button not appearing?

A: Verify you're on lemonade.gg/code/* URL. Refresh page if needed.

Q: @ autocomplete not showing files?

A:

  • Wait 1-2 seconds after typing @
  • Ensure you're connected to a Lemonade workspace
  • Check that files exist in your workspace
  • Try typing a few more characters to trigger search

Q: File dropdown shows "Loading files..."

A:

  • Normal initial state while mirroring to Lemonade
  • Should resolve within 1-2 seconds
  • If stuck, press Escape and try again

Q: File dropdown shows "No files found"

A:

  • Your workspace may not have matching files
  • Try different search terms
  • Verify files exist in Lemonade's native file picker

Q: Selected file not inserting?

A:

  • Click directly on the file name
  • Or use Enter key when file is highlighted
  • Dropdown should close and file appear as @FileName

Q: Lemonade chat has leftover text?

A:

  • Builder automatically clears chat after 500ms
  • If stuck, manually clear Lemonade's chat input
  • This is a safety delay to prevent conflicts

Q: Auto-submit not working?

A:

  • Verify enabled in Settings > Automation
  • Check delay setting (default: 500ms)
  • Ensure Lemonade's send button is visible
  • Try increasing delay if submission too fast

Q: Lost all data?

A: Import from backup (Settings > Import Data). Export regularly!

Q: How do I see detected files?

A: Files are detected live when you type @. Count appears in dropdown footer.

Q: Theme not saving?

A: Theme preference is stored in GM_setValue. Check TamperMonkey has storage permissions.


📊 Statistics & Tracking

  • Template Usage: Tracks how many times each template is used
  • Usage Badges: Shows "X uses" on popular templates
  • Most-Used Template: Displayed in Settings tab
  • Prompt Count: Total prompts generated
  • Favorites Count: Number of starred prompts
  • Complete Export: All data exportable as JSON

🔄 Version History

v8.8.3 - Current (Major Update)

  • NEW: @ file mention system
    • Live mirroring to Lemonade chat
    • Automatic file extraction from Lemonade's dropdown
    • Custom styled autocomplete dropdown
    • Keyboard navigation (↑↓, Enter, Escape)
    • Mouse selection support
    • Automatic Lemonade chat cleanup
    • Works in ALL text fields (input, textarea)
    • File type icons (scripts vs modules)
    • Real-time filtering
    • Footer with file count and keyboard hints
  • Expandable prompt previews in history
  • Enhanced file detection system
  • Improved performance and stability

v8.7.2

  • Added rename functionality for prompts
  • Enhanced keyboard navigation
  • Light/dark theme support
  • Auto-submit feature
  • Template usage statistics
  • Export/import data functionality

v8.0

  • Complete rewrite with modern architecture
  • Added history and favorites
  • Search functionality
  • Form validation
  • Multiple template categories

🚀 Pro Tips

  1. Use Ctrl+Shift+P for instant access from anywhere
  2. Favorite your most-used prompts for quick access
  3. Rename prompts to describe specific use cases
  4. Export data regularly as backup (Settings > Export)
  5. Use @ mentions to reference existing scripts in prompts
  6. Type to filter file suggestions after @
  7. Adjust auto-submit delay based on your workflow (Settings)
  8. Search history instead of recreating similar prompts
  9. Use Copy button if auto-insert has issues
  10. Expand prompt previews in history to see full content
  11. Reference multiple files: "Update @ShopGUI to use @CurrencyManager and @PlayerData"
  12. Press Escape to quickly close any modal or dropdown
  13. Check Settings > File References to understand @ mentions system
  14. Use keyboard navigation in file dropdown for speed

📄 License & Credits

Free to use and modify.
Report issues or suggestions in script comments or on GreasyFork.


📞 Support & Feedback

  • Script Comments: Post on GreasyFork script page
  • Bug Reports: Include browser, TamperMonkey version, and steps to reproduce
  • Feature Requests: Describe use case and expected behavior
  • File Mention Issues: Note if Lemonade's native file picker works

⭐ Key Highlights of v8.8.3

@ File Mentions: Type @ in any text field → Select from your workspace files → Auto-inserted as @FileName

Zero Setup: Works immediately, no configuration needed

Native Integration: Uses Lemonade's own file system for accuracy

Full Keyboard Control: Navigate with arrows, select with Enter

Beautiful UI: Custom dropdown with file types, paths, and counts

Auto Cleanup: Lemonade chat cleared automatically after selection

Universal: Works in all Builder text fields (inputs, textareas, lists)


================================================================= HAPPY CODING WITH v8.8.3! 🎉

Now with AI-powered @ file mentions!