> For the complete documentation index, see [llms.txt](https://docs.redcode.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.redcode.gg/documentation/how-to-install.md).

# How to Install?

We will show you how to install RAC correctly.

1. Scritps startup

{% hint style="warning" %}
Starting scripts, it is important to put RedCodeAC at the top of all scripts even before your core or framework.
{% endhint %}

```cfscript
ensure RedCodeAC
# From here down all scripts
ensure screenshot-basic
```

2. Resource for the screen capture system

{% hint style="success" %}
For RedCodeAC to work well we recommend that you use the screenshot-basic resource as it is a resource that we have tested.
{% endhint %}

3. Anticheat authentication to be able to verify your license

Open `licensekey.txt` and paste your license there.

<figure><img src="https://926534722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbLWQCeqDENBt7S3EnTqx%2Fuploads%2FoGn7AFrRcEXMonGgps85%2Fimage.png?alt=media&amp;token=425231e6-2d3e-4d02-884b-47dae560d6e4" alt=""><figcaption></figcaption></figure>

4. After starting the script and passing the verification system it is important to install the anticheat on the server console before the players log in.

{% hint style="info" %}
To install the anticheat you must execute this command in the console `/rac install`
{% endhint %}

{% hint style="warning" %}
If in any comment you want to uninstall RAC you can use `/rac uninstall` before deleting this resource.
{% endhint %}

5. After finishing the RAC installation you have to reboot the server to make it work properly.
