- i want to make a level system for a game that when you click you become xp
I need a script but I want a guy too
I need a script but I want a guy too
Please do not ask for code, against the rules.
Add attributes into the player or the character, one is called level, the second is called exp to level up, and the third could be called currentExp. ExpToLevelUp could be defined as the level multiplied by some other number, maybe 300. (At level 1 you need 300 exp level 2 you need 600 etc. You could also use exponents for an exponential increase.)
Then add functions to when currentExp changes, if it surpasses expToLevel then level up the character. Add a function to when the level changes to increase expToLevel.