> For the complete documentation index, see [llms.txt](https://volt-4.gitbook.io/volt-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://volt-4.gitbook.io/volt-help/beginners/auto-execution.md).

# how to auto execute

press this highlighted button and then name the file whatever you want:

<figure><img src="/files/fLuRKbPghEiEovUvaiXp" alt=""><figcaption></figcaption></figure>

open the file you just made in Auto Execution and put your script in like this:

```luau
if not game.IsLoaded() then game.Loaded:Wait() end
--your script here
```

after putting in your script it should look like this:

<figure><img src="/files/siCAlYvy41HHqii54gOh" alt=""><figcaption></figcaption></figure>

now, join/rejoin a game in Roblox and the script should get automatically executed.
