You must first teach the user frames. Then if modifying a value, run that code first. Make sure the correct User frame is selected and you are in user mode. Then teach points.
If you don't select a user frame first then you have been teaching everything in world, points and PRs.