The challenge of the lava floor is not to touch the floor because if you touch it you lose points but at a given moment you can recover that lost score by pressing the button. (to recover)
Don't let your Friend Mario fall off the platforms, also collect the time so you don't run out and for a higher score.