A simple XP system involves scripts that can do level systems for you, for example, there is available data, and once you actually reach a certain amount of XP, you gain a level. This type of script requires usage of LocalScript, for it to work properly.
The script also involves leaderstats as well, along with data you are available to receive as well. You might need to add the leaderstats function first.
Some functions are somewhat necessary for the whole script to function correctly. You need to add the given value to the script. The script must be a LocalScript, otherwise it won't work.
Optionally, to reduce clutter, you can type this line first
local XP = game.Players.LocalPlayer.leaderstats.XP.Value local Level = game.Players.LocalPlayer.leaderstats.Level.Value
For the XP system to work, you need the if function
if XP == 250 then Level = Level + 1 end
This is the script as before, without any variables
if game.Players.LocalPlayer.leaderstats.XP.Value == 250 then game.Players.LocalPlayer.leaderstats.Level.Value = game.Players.LocalPlayer.leaderstats.Level.Value + 1 end
You can add it in with a GUI click script as well