Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- mon = peripheral.wrap("top")
- mon.clear()
- mon.setTextScale(1)
- mon.setCursorPos(1,1)
- mon.write("Waiting For Button Event...")
- mon.setTextScale(1)
- mon.setCursorPos(1,1)
- if rs.getInput("front") then
- mon.clear()
- shell.run("monitor top gps locate")
- break
- else
- end
- os.pullEvent("redstone")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement