Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local turbine = peripheral.wrap("big reactors-Turbine_1")
- local low = 1800
- local high = 1900
- if Turbine.getRotorSpeed() <= low then
- turbine.setActive(true)
- end
- if turbine.getRotorSpeed() >= high then
- turbine.setActive(false)
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement