a guest Dec 9th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- side = "top" --This is the side of the monitor
- text = "Willkommen in Louis' Haus"
- mon = peripheral.wrap(side)
- while true
- mon.write(textutils.formatTime(os.time(),false)) -- use false for 12h time
- -- os.time() returns the time of the Minecraft day,
- -- corresponding closely but not exactly to the sun position.
- sleep(1) -- 0.2 would be smoother, but causes quite severe lag.
RAW Paste Data