Advertisement
fantadada

test

Apr 17th, 2022
1,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. term.clear()
  2.  
  3. local window1 = window.create(term.current(), 1, 1, 2, 1)
  4. local window2 = window.create(term.current(), 1, 1, 2, 1)
  5.  
  6. window1.setVisible(false)
  7. window2.setVisible(false)
  8.  
  9. window1.write("):")
  10. window2.write(":)")
  11.  
  12. while true do
  13.     window2.setVisible(false)
  14.     window1.setVisible(true)
  15.    
  16.     sleep(0.5)
  17.    
  18.     window1.setVisible(false)
  19.     window2.setVisible(true)
  20.    
  21.     sleep(0.5)
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement