💎ROBERRY GRAPSEED

💎 Jewelry Store Robbery Script
A comprehensive FiveM script for ESX Legacy that allows players to rob a jewelry store with multiple interactive features including painting theft, glass cutting, jewel stealing, security NPCs, alarms, and police dispatch system.
✨ Features
🎯 Core Robbery System
Multi-phase heist: Complete robbery with multiple stages including door forcing, painting theft, glass cutting, and jewel stealing
Time limit: Configurable time limit for the entire robbery (default: 15 minutes)
Cooldown system: Prevents repeated robberies with configurable cooldown timer
Police requirement: Requires minimum number of police officers online before robbery can start
Time restrictions: Optional time-based restrictions (can be limited to specific hours or night-only)
🖼️ Painting Theft
4 Paintings: Steal 4 randomly selected paintings from 10 available options
Interactive animations: Realistic cutting animations with synchronized scenes
Progressive system: Must cut all 4 corners of each painting before stealing
Random selection: Paintings are randomly shuffled each robbery for variety
Rewards: Receive configurable items and amounts for each painting stolen
🔪 Glass Cutting & Display Case
Glass cutting minigame: Interactive glass cutting sequence with overheating mechanics
Multiple rewards: Random selection from 4 different display case items
Realistic animations: Synchronized animations with props and tools
Visual effects: Particle effects during cutting process
💍 Jewel Stealing
20 Display Cases: Multiple jewelry display cases throughout the store
Smash animations: Realistic glass breaking animations
Random rewards: Each case gives random items from configurable reward pool
Individual timers: Each case has its own respawn timer to prevent spam
Visual feedback: Prop swapping system shows broken cases
🚗 Security NPCs
Dynamic security: Security vehicle arrives when robbery starts
Multiple NPCs: Configurable number of security guards (default: 4)
Armed guards: Security NPCs spawn with weapons and attack players
Vehicle system: Security arrives in configurable vehicle model
Combat AI: Aggressive NPCs that pursue and attack players
Customizable: Configure spawn location, destination, weapons, and behavior
🚨 Alarm System
Audio alarm: Klaxon alarm sound plays during robbery
Zone-based: Alarm activates within configurable radius
Police interaction: Police officers can disable alarm at specific location
Synchronized: Alarm state syncs across all players
Distance-based: Alarm stops when players leave the area
📡 Police Dispatch System
Automatic alerts: Police officers receive notifications when robbery starts
Blip system: Pulsing blip appears on map for all police officers
Configurable chance: Percentage chance to alert police
Multiple jobs: Supports multiple police job names (police, sheriff, etc.)
LSPD integration: Compatible with LSPD dispatch systems
💨 Smoke Effects
Visual effects: Smoke particles spawn during robbery
Configurable duration: Set how long smoke effects last
Area coverage: Smoke covers the jewelry store area
Toggle option: Can be enabled/disabled in configuration
🎬 Tutorial System
Cinematic mode: Optional tutorial with camera transitions
Cinema bars: Black bars appear during tutorial sequences
Camera transitions: Smooth camera movements showing robbery locations
Information display: Shows painting names and locations
🌍 Multi-language Support
Translation system: Full translation support with easy language switching
Available languages: English, French, Spanish (easily expandable)
Dynamic loading: Language files loaded based on configuration
Complete coverage: All notifications and UI elements translated
💰 Reward System
Multiple reward types: Different items for paintings, jewels, and display case
Random amounts: Configurable random amount ranges for each item type
Multiple items: Support for multiple reward items with different amounts
Flexible configuration: Easy to add new reward items and amounts

⚙️ Configuration
📋 Basic Settings
🚨 Alarm Settings
✨ Effects Settings
💎 Reward Configuration
📡 Police Alert Settings
🚗 Security NPC Settings
📍 Location Configuration
📦 Installation
Place the resource in your
resourcesfolderAdd
ensure jewelgrapseedto yourserver.cfgConfigure the script in
config/config.luaEnsure all required items exist in your database
Restart your server
📋 Requirements
ESX Legacy: Compatible with ESX Legacy framework
Items: Create items in your database:
Items specified in
Config.ItemPaintItems specified in
Config.Rewards
Dependencies:
es_extended(ESX Legacy)Optional: LSPD dispatch system (if using)

🎮 Usage
🚀 Starting a Robbery
Approach the jewelry store location
Ensure minimum police officers are online
Check cooldown timer (if active)
Press the interaction key to start robbery
Follow the on-screen prompts
🖼️ Stealing Paintings
Approach a painting location
Have a weapon equipped
Press interaction key to start cutting
Follow prompts to cut all 4 corners
Receive reward after completion
💍 Stealing Jewels
Approach a jewelry display case
Have a weapon equipped
Press interaction key to smash case
Receive random reward item
Case respawns after timer expires
🔪 Glass Cutting
Complete painting theft phase
Approach the glass display case
Follow the cutting sequence
Avoid overheating
Receive random display case item
👮 Police Response
Police officers automatically receive alerts
Blip appears on map showing robbery location
Police can respond to the location
Alarm can be disabled by police at designated location

🎨 Customization
➕ Adding New Reward Items
Add entries to Config.Rewards:
🚗 Changing Security Behavior
Modify Config.NPCSecurity:
Change vehicle model
Adjust number of NPCs
Modify spawn/destination locations
Change weapons
Configure combat behavior
📍 Adjusting Locations
Modify coordinates in:
Locationstable for main positionsConfig.Jewelfor display case positionsConfig['ArtHeist']['painting']for painting positionsConfig.Camerafor tutorial camera positions
🌍 Language Customization
Edit translation files in
locales/translations/Add new language by creating new file (e.g.,
de.lua)Set
Config.Languageto your language code
🔧 Technical Details
🔄 Synchronization
Robbery state syncs across all players
Painting theft state synchronized
Alarm state synchronized
Object states synchronized
⚡ Performance
Optimized with proper wait times
Efficient entity management
Clean resource cleanup on stop
🔒 Security
Server-side validation
Player verification
Cooldown enforcement
Police count verification

📝 Notes
All items must exist in your database before use
Ensure police jobs match your server configuration
Test all locations before production use
Adjust timers based on server performance
Monitor server performance with security NPCs enabled
Last updated