> For the complete documentation index, see [llms.txt](https://gamesensical.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamesensical.gitbook.io/docs/using-the-cheat/using_lua_scripts.md).

# Using lua scripts

## Installing lua scripts

1. Save the Lua script in the same folder as csgo.exe. The file extension should be ".lua".
2. Go to the "MISC" tab and click the "Lua script manager" button. Here you'll see a list of all installed lua scripts

![](https://i.imgur.com/WuyiCxb.png)

1. Select the script you want to load and click "Load script". If you want it to automatically be loaded whenever you load the cheat, tick "Load on startup"

### Common problems:

#### - A script doesn't show up in the Lua script manager:

* Make sure "File name extensions" is enabled in the windows explorer settings

![](https://i.imgur.com/6cNvMHG.png)

If it's not, turn it on, then make sure all scripts actually end with .lua

#### - A script doesn't load (error sound plays):

This can have many reasons. The script could for example be outdated or a required dependency isn't installed.

Open your console and look for the red text. Copy that and ask the script creator for help with it.

![](https://i.imgur.com/c7IKT2p.png)


---

# 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, and the optional `goal` query parameter:

```
GET https://gamesensical.gitbook.io/docs/using-the-cheat/using_lua_scripts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
