Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local count = 0
- local screen = peripheral.wrap("left")
- term.redirect(screen)
- local function addCount()
- count = count + 1
- print(count)
- end
- while true do
- local event = os.pullEvent("redstone")
- addCount()
- end
Advertisement
Add Comment
Please, Sign In to add comment