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:
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 impo rt the LevelsConfig at the top of your script:
local LevelsConfig = require(ServerScriptService.Levels)
Last updated