About a platform game

I want to know i you can make lives or a start over button. the script is just SO confusing