RavenNine

Turn order attempt

Aug 4th, 2026
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. function clock()
  2.  
  3. if turn_1 == true then
  4. timer-=1*(1/60)
  5. end
  6.  
  7.  
  8. end
  9.  
  10. function draw_clock()
  11.  
  12. print(timer,10,20,1)
  13.  
  14.  
  15.  
  16.  
  17.  
  18. if timer<0 and turn_1==true then
  19. timer=0
  20. if timer == 0 then
  21. turn_1 = false
  22. if turn_1 == false then
  23. turn_2 = true
  24. if timer==10 and turn_1==true then
  25. timer-=1*(1/60)
  26. end
  27. end
  28. end
  29. end
  30. end
  31.  
  32.  
  33.  
  34. function switch_turn()
  35.  
  36.  
  37. if turn_2 == true then
  38. print(timer_2)
  39. timer_2-=1*(1/60)
  40. end
  41.  
  42. if timer_2<0 then
  43. timer_2=0
  44. end
  45.  
  46. if timer_2==0 then
  47. turn_2=false
  48. turn_1=true
  49. end
  50.  
  51.  
  52. end
Advertisement
Add Comment
Please, Sign In to add comment