Advertisement
_GameDoctor_

Untitled

Aug 7th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 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. local capacity = bat.getCapacity()
  15.  
  16.  
  17. while true do
  18.  
  19. gpu.setResolution(18,8)
  20. gpu.setBackground(0x000000)
  21. gpu.fill(1, 1, w, h, " ")
  22. gpu.setForeground(0xDC143C)
  23. gpu.set(1,1," Привет ")
  24. gpu.setForeground(0xFF00FF)
  25. gpu.set(1,1," от ")
  26. gpu.setForeground(0xFF00FF)
  27. gpu.set(1,1," GameDoctor ")
  28.  
  29. local e = event.pull(1)
  30. if e == "key_down" then
  31. red.setOutput(sideRed, 0)
  32. gpu.setResolution(w, h)
  33. gpu.fill(1, 1, w, h, " ")
  34. os.sleep(1)
  35. os.exit()
  36. end
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement