Advertisement
Apuuu

Untitled

Jan 17th, 2019
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. local Parts = require("component")
  2. local file = require("filesystem")
  3. local event = require("event")
  4. local gpu = Parts.gpu
  5. local bat = Parts.induction_matrix
  6. local w, h = gpu.getResolution()
  7. local Running = true
  8.  
  9. function round(x, dez)
  10. local m = 10^(dez or 0)
  11. return ((x * m + 0.5) - (x * m + 0.5) % 1) / m
  12. end
  13.  
  14. gpu.setBackground(0x606060)
  15. gpu.setForeground(0x000000)
  16. gpu.fill(1, 1, w, h, " ")
  17.  
  18.  
  19. while Running do
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement