Here are some reference images:
The code for the player:

The code for the starting and paused menu:

I tried starting off the code by adding a current variable that stores your position when you pause, however I don't really know where to go from this.
I really don't know how to do it, so please try to explain.
Thanks in advance,
wavy