Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sen = peripheral.wrap("top")
- local bridge = peripheral.wrap("right")
- bridge.clear()
- bridge.sync()
- bridge.addText(20,20,"ComputeX GlassOS(TM) Loading...",0xffffff)
- bridge.sync()
- while true do
- sleep(0.5)
- bridge.clear()
- bridge.addBox(5,-150,200,100,0x000000,50).setScreenAnchor("left", "bottom")
- bridge.addText(10,-60,"ComputeX BaseSense(TM) v 1.0.0",0xcccccc).setScreenAnchor("left", "bottom")
- bridge.addText(10,-145,"Players in base:",0xff9966).setScreenAnchor("left", "bottom")
- for i,v in pairs(sen.getPlayers()) do
- print(v.name)
- bridge.addText(13,-135+10*i,v. name,0xffffff).setScreenAnchor("left", "bottom")
- end
- bridge.sync()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement