> For the complete documentation index, see [llms.txt](https://slashin8r.gitbook.io/universal-monster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://slashin8r.gitbook.io/universal-monster/features/combat-system/player-attacks.md).

# Player Attacks

**Universal Monster** can even be used for all your **Player Attacks**. Setup your **Attacks Array** like you would for any AI character and then you can use the **Player Attack** function to trigger a specific attack in the **Attack Array**.

![The Player Attack function must execute on the server](https://2501426749-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbsB8IAdQC_jVeRoJ70%2F-MkmkFby4SMc15XE9VOL%2F-MkmkyONcVa5PoperWq1%2Fimage.png?alt=media\&token=4e19cfcd-0cee-434e-a2e3-a5c87ce4ba8e)

**Attack Index**: The index of the attack to be executed in the Attacks Array.

![Example of binding the Player Attacks to hotkeys](https://2501426749-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbsB8IAdQC_jVeRoJ70%2F-MkmkFby4SMc15XE9VOL%2F-MkmlSKNTb8tceA8Rerd%2Fimage.png?alt=media\&token=9e426f34-f8ae-4600-a9b9-bad12e19cdc0)
