Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Button toggle for furnace
- local currentState = false
- while true do
- redstone.setOutput("right", currentState)
- redstone.setOutput("left", currentState)
- if redstone.getInput("front", true) then
- if currentState == true then
- currentState = false
- elseif currentState == false then
- currentState = true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement