local lives = 3 -- standard start; three tries per game lives = lives - 1 -- player walked into the lava print("Lives: " .. lives)