Make blocks called Checkpoint, put an int object in it, then put hte checkpoint number in the int object value.
Make a IntValue object and put it in the Player in Players, not PlayerGui or Backpack, in the Player oject, that way if the player dies it won't reset the value.
So with the Int object in the player and the checkpoint objects, every time the player touches a Checkpoint object, check if it has a IntValue object in it, check the value, make the value in the Players int value, if he dies, search the workspace for the int value....
I think you can get hte rest from that. |