Advertisement
PSquishyP

Untitled

Jun 22nd, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. local sen = peripheral.wrap("top")
  2. local bridge = peripheral.wrap("right")
  3. bridge.clear()
  4.  
  5. bridge.sync()
  6. bridge.addText(20,20,"ComputeX GlassOS(TM) Loading...",0xffffff)
  7. bridge.sync()
  8.  
  9.  
  10. while true do
  11. sleep(0.5)
  12. bridge.clear()
  13. bridge.addBox(5,-150,200,100,0x000000,50).setScreenAnchor("left", "bottom")
  14. bridge.addText(10,-60,"ComputeX BaseSense(TM) v 1.0.0",0xcccccc).setScreenAnchor("left", "bottom")
  15. bridge.addText(10,-145,"Players in base:",0xff9966).setScreenAnchor("left", "bottom")
  16. for i,v in pairs(sen.getPlayers()) do
  17. print(v.name)
  18. bridge.addText(13,-135+10*i,v. name,0xffffff).setScreenAnchor("left", "bottom")
  19. end
  20. bridge.sync()
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement