Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redStart = nil
- while true do
- local ev,p1 = os.pullEvent("redstone")
- if rs.testBundledInput("back",colors.red) then
- redStart = os.clock()
- else
- if redStart ~= nil then
- print("Seconds passed: " .. ( os.clock() - redStart ))
- redStart = nil
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment