Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = peripheral.wrap("back")
- --SlowPrint Start
- function SlowText(Text)
- for I=1,string.len(Text) do
- NewText=string.sub(Text,I,I)
- mon.write(NewText)
- sleep(0.1)
- end
- end
- --Slowprint End
- --Start
- mon.clear()
- while true do
- while true do
- sleep(0)
- if redstone.getInput("bottom") then
- break
- end
- end
- mon.setTextScale(1)
- mon.clear()
- mon.setCursorPos(7,6)
- mon.setTextColor(colors.green)
- SlowText("LAUNCH INITIATED!")
- sleep(8)
- mon.clear()
- mon.setCursorPos(10,6)
- --Counter
- for I=10,1,-1 do
- mon.clear()
- mon.setCursorPos(4,2)
- mon.setTextColor(colors.red)
- NewNumber = tostring(I)
- mon.setTextScale(4)
- mon.write(NewNumber)
- sleep(1)
- end
- --Counter End
- mon.setTextScale(2)
- mon.clear()
- mon.setCursorPos(5,3)
- mon.setTextColor(colors.green)
- SlowText("LAUNCH!")
- redstone.setOutput("right",true)
- sleep(1)
- redstone.setOutput("right",false)
- sleep(5)
- mon.clear()
- --End
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement