Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor=peripheral.wrap("back")
- while true do
- monitor.clear()
- monitor.setTextColour(colors.white)
- w,h=monitor.getSize()
- monitor.setTextScale(2)
- monitor.setCursorPos(math.ceil((w / 2) - (#"Want to see your ad here?" / 2)), 3)
- monitor.write("Want to see your ad here?")
- monitor.setTextColour(colors.blue)
- monitor.setCursorPos(math.ceil((w / 2) - (#"Contact the staff for info!" / 2)), 4)
- monitor.write("Contact the staff for info!")
- os.sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment