Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Settings
- mon = peripheral.wrap("right") --Screen Side
- mon.setTextScale(4) --Text Size
- strtpos = 12 --Start position on screen
- speed = 0.2 --Scroll Speed (Seconds)
- text = "Din mor lugter af ged" --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