Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QGlass=peripheral.wrap("right")
- function Update()
- global time = textutils.formatTime(os.time(), false)
- QGlass.clear()
- end
- function CreateBox(x,y,sizex,sizey,color)
- QGlass.addBox(sizex,sizey,x,y,color,0.2)
- end
- function Write(x,y,text,color)
- QGlass.addText(x,y,text,color)
- end
- CreateBox(1,1,5,10x000000)
- while true do
- Update()
- Write(2,1,time,0xFFFFFF)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement