> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaworks.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Safezones.lua

## Safezones

Safezones are useful zones that will be excluded from the spawning system inside mega\_entities.

### Safezone definition

```lua theme={null}
['Example_Safezone'] = {
    coords = vector3(-813.63, -1319.39, 43.78),
    radius = 150.0,
    -- allow replacement system to work there
    allowReplacement = false,
    -- allow worldgrid system to work there
    allowWorldgrid = false
}
```
