Kamioda

Untitled

Nov 14th, 2021 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local RSLastState = false
  2. while true do
  3. local RS = redstone.getInput("left")
  4. if RS ~= RSLastState then
  5. redstone.setOutput("right", RS)
  6. RSLastState = RS
  7. sleep(60)
  8. else
  9. sleep(0.5)
  10. end
  11. end
  12.  
Add Comment
Please, Sign In to add comment