Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local timerGrowingUp = 10
- local tickFiringEggs = 0.1
- local tickBetweenFiringEggs = 0.1
- local dispenser = "left"
- local chest = "top"
- local nbFire = 10
- local piston = "right"
- local timerPiston = 4
- while true do
- print("Firing Eggs !")
- local i=0
- while i <= nbFire do
- redstone.setOutput(dispenser, true)
- sleep(tickFiringEggs)
- redstone.setOutput(dispenser, false)
- sleep(tickBetweenFiringEggs)
- i=i+1
- end
- print("Waiting for growing up...")
- sleep(timerGrowingUp)
- print("Kill them'all !")
- redstone.setOutput(piston, true)
- sleep(timerPiston)
- redstone.setOutput(piston, false)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement