> For the complete documentation index, see [llms.txt](https://raptorstrike.atomatrix.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raptorstrike.atomatrix.gg/roblox-scripts/xp-system/extra-information.md).

# Extra Information

Extra information about the XP System script.

## Adding XP to a player

To add XP to a player, use the following function on server side scripts:&#x20;

```lua
LevelsConfig.addXP(playerObject, xpToAdd)
-- (Where playerObject is the object of the player, and xpToAdd is an integer of XP to add to a player)
```

You will also need to import the LevelsConfig at the top of your script:

```lua
local LevelsConfig = require(game.ServerScriptService.Levels)
```
