Advertisement
goldfiction

doingtiming2

Jun 30th, 2025 (edited)
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | Gaming | 0 0
  1. print("doing timing...")
  2. while true do
  3.   signalStrength = rs.getAnalogInput("right")
  4.   if signalStrength > 0 then
  5.     print("ding..")
  6.     redstone.setOutput("left",true)
  7.     os.sleep(0.2)
  8.     redstone.setOutput("left",false)
  9.   end
  10.   os.sleep(5)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement