Need Help With Mr. Trivel Stat Points Script

I'm not sure what I'm doing wrong or what needs defining.

I just want to be able to use a simple stat distribution system for VX Ace.

Here is a link to the script: MrT Stat Points or you can use this

I get the message
"line 127 NoMethodError occured
"undefined method '>' for nil:NilClass"
When testing, did you try to use an existing save that you made before you added this script to your game?

The reason it's crashing is because it's looking for a property called stat_point on the actor, and is unable to find one. The most likely cause of this is the property not having been initialised, which is generally only the case when you load a save that already existed before incorporating the script, since the actors are already initialised and won't be recreated.
Problem solved. Needed to start a new game.
When testing, did you try to use an existing save that you made before you added this script to your game?

The reason it's crashing is because it's looking for a property called stat_point on the actor, and is unable to find one. The most likely cause of this is the property not having been initialised, which is generally only the case when you load a save that already existed before incorporating the script, since the actors are already initialised and won't be recreated.

You are 100% correct. Thank you

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-mr-trivel-stat-points-script.158227/