Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Settings
- mon = peripheral.wrap("back") --Screen Side
- mon.setTextScale(4)
- mon.setTextColor(colors.yellow) --Text Size
- strtpos = 16 --Start position on screen
- speed = 0.2 --Scroll Speed (Seconds)
- text = "Welcome To IronHill" --Displayed Text
- pos = strtpos
- poslimit = 0 - strtpos
- while true do
- mon.clear()
- mon.setCursorPos(pos, 1)
- mon.write(text)
- sleep(speed)
- if pos == poslimit then
- pos = strtpos
- else
- pos = pos - 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement