> For the complete documentation index, see [llms.txt](https://studio-players.gitbook.io/studio-players/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://studio-players.gitbook.io/studio-players/qb-qbx-scripts/sa-boxe.md).

# SA-BOXE

This script offers you to make PolyZone where is possible to trigger an event by pressing E.

{% embed url="<https://www.youtube.com/watch?v=NwlmL-2tcYU>" %}
Preview
{% endembed %}

#### Configuration <a href="#configuration-1" id="configuration-1"></a>

{% tabs %}
{% tab title="Config" %}
{% hint style="info" %}
Here is a simple config for boxes. The box and door setup are in different files.
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/config.lua>" %}
{% endtab %}

{% tab title="Boxes" %}
{% hint style="info" %}
In boxes.lua you can manage BoxEs.
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/boxes.lua>" %}
{% endtab %}

{% tab title="Doors" %}
{% hint style="warning" %}
Here you can manage the opening of the doors by BoxE. The doors still have to be set up in qb-doorlock and also radius/distance has to be set to 0, then you can use doors.lua
{% endhint %}

{% hint style="info" %}
Anyway, BoxE is better optimized than the qb-doorlock system to control locks.

* qb-doorlock - 0,00ms idle | 0,03ms use&#x20;
* SA-BoxE - 0,00ms idle | 0,01ms use
  {% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/doors.lua>" %}
{% endtab %}

{% tab title="Events.lua (Triggers)" %}
{% hint style="info" %}
Triggers are configurable in /client/events.lua
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/events.lua>" %}
{% endtab %}

{% tab title="Notifications and locale" %}
{% hint style="info" %}
Here you can change notify system by your preferencies
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/functions.lua>" %}

{% hint style="info" %}
Here are locales
{% endhint %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/en.lua>" %}

{% @github-files/github-code-block url="<https://github.com/Studio-PLAYERS/TEBEX-Doc/blob/main/SA-BoxE/previews/cs.lua>" %}
{% endtab %}
{% endtabs %}

**Features**

* Resmon - 0.00ms idle / 0.01ms use / 0.23 PolyZone Debug mode
* Configurable - events, config
* 1 Active Thread / 3 are turn off and on
* Easy-to-Configure!

We are using Asset Escrow system


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://studio-players.gitbook.io/studio-players/qb-qbx-scripts/sa-boxe.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.
