i need help with this

i need help with this

 

 

my code how would i put this in to scene:create

 

 

 

 

  1. local secondsLeft = 20 * 60
  2. local clockText = display.newText(“20:00”, 160,30)
  3. local function updateTime()
  4. secondsLeft = secondsLeft - 10
  5. local minutes = math.floor( secondsLeft / 60)
  6. local seconds = secondsLeft % 60
  7. local timeDisplay = string.format("%02d:%02d", minutes, seconds)
  8. clockText.text = timeDisplay
  9. if timeDisplay == “18:00” then
  10. composer.gotoScene(“menu”)
  11. end
  12. end
  13. local countDownTimer = timer.performWithDelay(1000, updateTime, secondsLeft)