Advertisement
rungholt

tank

Mar 9th, 2021 (edited)
588
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 1 0
  1. local function checkTank()
  2.     if redstone.getAnalogInput("left") == 9 then
  3.         term.blit("9", "4", "f")
  4.     end
  5. end
  6.  
  7. while true do
  8.     checkTank()
  9.     os.pullEvent("redstone")
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement