Advertisement
Osyrisa

Script

May 29th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. local timer = script.Parent
  2. loclocal timer = script.Parent
  3. local minutes = 2
  4. local seconds = 19
  5.  
  6. repeat
  7. if seconds <= 0 then
  8. minutes = minutes - 1
  9. seconds = 59
  10. else
  11. seconds = seconds - 1
  12. end
  13. if seconds <= 9 then
  14. timer.Text = tostring(minutes)..":0"..tostring(seconds)
  15. else
  16. timer.Text = tostring(minutes)..":"..tostring(seconds)
  17. end
  18. wait(1)
  19. until minutes <= 0 and seconds <= 0al minutes = 2
  20. local seconds = 19
  21.  
  22. repeat
  23. if seconds <= 0 then
  24. minutes = minutes - 1
  25. seconds = 59
  26. else
  27. seconds = seconds - 1
  28. end
  29. if seconds <= 9 then
  30. timer.Text = tostring(minutes)..":0"..tostring(seconds)
  31. else
  32. timer.Text = tostring(minutes)..":"..tostring(seconds)
  33. end
  34. wait(1)
  35. until minutes <= 0 and seconds <= 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement