# GOD - Laser System

### Overview

**Laser Detection Script - Ultimate Guide**

🚀 **Overview**

The GOD Laser System brings an advanced surveillance and security system to your FiveM server! This powerful script allows players to place laser tripwires that detect when other players pass through them, triggering custom notifications and alerts. Perfect for security systems, heist scenarios, police operations, and creative roleplay mechanics.

#### ✨ Key Features

🔴 **Dynamic Laser Placement** – Create laser tripwires between any two points in the world using an intuitive in-game placement system.

🔵 **Real-Time Detection** – Lasers continuously monitor player movement and instantly detect when someone crosses the beam.

🟢 **Player Detection System** – Advanced collision detection ensures accurate player crossing detection with customizable sensitivity.

🟡 **Notification System** – Automatic alerts notify laser owners when their security system is triggered. Police lasers can also notify all on-duty officers.

🟣 **Dual Laser Types** – Support for both civilian security lasers and police-only laser systems with different notification behaviors.

🟠 **Visual Camera Props** – Each laser spawns a CCTV camera prop at the start point for immersive visual feedback.

🔵 **Persistent Storage** – All lasers are saved to a JSON database and persist across server restarts.

🟢 **Shop System** – Built-in NPC shop where players can purchase laser devices and removers.

🟡 **Framework Support** – Compatible with QBCore, ESX, and Qbox frameworks.

🟣 **Inventory Support** – Works with both QB-Inventory and OX-Inventory systems.

#### 🎯 Use Cases

* **Security Systems** – Protect properties, businesses, and restricted areas
* **Heist Scenarios** – Create challenging security obstacles for players
* **Police Operations** – Set up surveillance systems for law enforcement
* **Roleplay Events** – Add dynamic security mechanics to your server
* **Creative Gameplay** – Design custom security challenges and missions

#### 📋 Requirements

* **Framework**: QBCore, ESX, or Qbox
* **Inventory**: QB-Inventory or OX-Inventory
* **Dependency**: ox\_lib (required)
* **Game**: FiveM (GTA V)

***

**Upgrade your server's security and gameplay mechanics with the most interactive laser detection system available!**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://god-studios.gitbook.io/god-studios/god-laser-system.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
