Skill and Stat points and parallel process problem

I'm trying to create a system where you can level skills and stats on points you pour into a certain stat, like put 12 point into attack and 3 into defense. Your meant to get points every level so I made the event in common events, how ever the problem comes when you pour points into a stat. The points don't stay at zero when you spend all of them instead they go back to the organical number of points you get. Here's an example:

Screenshot (4).png


Is there any way around this?
This is a parallel process event. It is always running, so it always will make the variables go back to zero. Plus, it won't make you earn 20 points at every level up the way you did it, because you always will earn 20 points as long as the character is not at level 1.

You will need to make a different event where you earn the points for each level, then subtract then when the character sets each point on the stats.

Edit: By the way, I noticed just now that you are using an illegal version of RM2k3. You will need to buy the official version on rpgmakerweb.com. 😀
illegal version?! sorry I think I will get the stream version, this was given to me by a friend.

But also should that other event be in the common events or an event on the map?

Original thread: https://forums.rpgmakerweb.com/threads/skill-and-stat-points-and-parallel-process-problem.78327/