You set a bar's value using the value property - so, in the example you're referring to, you'll see the property value ScreenVariableValue('percentage_value', 100)
This means it is tracking the screen variable called percentage_value, and the range is 100 (implicitly the start is 0 so it goes from 0-100).
You can do this same kind of thing for other values. For example, assuming points is a defaulted non-screen variable, value VariableValue("points", min=0, max=100) would work, with the min/max set up appropriately. You can see BarValues here: https://www.renpy.org/doc/html/screen_actions.html#VariableValue













































