> For the complete documentation index, see [llms.txt](https://atiysus-organization.gitbook.io/aty-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atiysus-organization.gitbook.io/aty-scripts/treasure-creator/usage.md).

# Usage

## Creating A Treasure

To create a treasure, use the command `/createTreasure` and fill the inputs.&#x20;

* **Time To Search**, is the minutes that players will be searching for the treasure.
* **Gift Name**, is the spawn name of the item. You can also type `money` to give players money.
* **Treasure Coordinates**, is where the treasure will be hidden. You can click the pin icon to get your current location.
* **Gift Amount**, is the amount of the item that player will receive

***

## Finding The Treasure

After creating a treasure, an announcement will appear and an area will be marked on the map, go there and enter the marked area, after entering it you will see a distance UI. Follow that UI to get close, after getting close enough, use your shovel and dig the treasure.
