Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local heat = 130
- local com = require("component")
- local computer = require("computer")
- local event = require("event")
- local gpu = com.gpu
- local colors = require("colors")
- local w, h = gpu.getResolution()
- local capacity = bat.getCapacity()
- gpu.setResolution(18,8)
- gpu.setBackground(0x000000)
- gpu.fill(1, 1, w, h, " ")
- gpu.setForeground(0xDC143C)
- gpu.set(1,1," Привет ")
- gpu.setForeground(0xFF00FF)
- gpu.set(1,1," от ")
- gpu.setForeground(0xFF00FF)
- gpu.set(1,1," GameDoctor ")
- local e = event.pull(1)
- if e == "key_down" then
- red.setOutput(sideRed, 0)
- gpu.setResolution(w, h)
- gpu.fill(1, 1, w, h, " ")
- os.sleep(1)
- os.exit()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement