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

# Multiplayer

To prepare enemies for multiplayer, you just need to add multiplayer scripts to each enemy by clicking the <mark style="color:green;">**Add Multiplayer Scripts**</mark> button in the **AI Controller** script.&#x20;

{% hint style="info" %}
After you add the scripts, you do not need to do anything extra, everything works automatically.
{% endhint %}

{% hint style="warning" %}
If you're going to spawn enemies during the game, make sure the enemies' prefabs are located in the <mark style="color:green;">**(Resources)**</mark> folder; otherwise, they won't be created in the game.
{% endhint %}

![](https://3854890582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lf4aWZpqUiSipiEh-D6%2Fuploads%2FnrIWQT2WWsKSuMOnZv87%2FAI%20Multiplayer.png?alt=media\&token=76458dd1-2707-4f58-b51d-839eb92fe41a)
