Advertisement
_GameDoctor_

Untitled

Aug 7th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local heat = 130
  2.  
  3. local com = require("component")
  4. local computer = require("computer")
  5. local event = require("event")
  6. local gpu = com.gpu
  7. local colors = require("colors")
  8. local w, h = gpu.getResolution()
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. while true do
  16.  
  17. gpu.setResolution(18,8)
  18. gpu.setBackground(0x000000)
  19. gpu.fill(1, 1, w, h, " ")
  20. gpu.setForeground(0xDC143C)
  21. gpu.set(1,1," Привет ")
  22. gpu.setForeground(0xFF00FF)
  23. gpu.set(1,2," от ")
  24. gpu.setForeground(0xFF00FF)
  25. gpu.set(1,3," GameDoctor ")
  26.  
  27. local e = event.pull(1)
  28. if e == "key_down" then
  29. gpu.setResolution(w, h)
  30. gpu.fill(1, 1, w, h, " ")
  31. os.sleep(1)
  32. os.exit()
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement