Checkpoint_Index <value>

Holds the current checkpoint number the player is on. It is upto the script to increase or decrease this as needed.