# How can I make a redstone button with an X second delay? [duplicate]

I am making a grinder that kills you with lava, water, TNT and sends you into the void. I am having some trouble with the lava. Since lava flows really slow, I need a button that has a delay from 5 to 7 seconds. I've tried circuits with lots of repeaters. How can I create a button which has a 5 to 7 second delay?

The machine is out! 4-way killing machine

• I'm more interested in the first sentence rather than the button. Apr 1, 2013 at 16:35
• Do you want a button that waits 5 to 7 seconds before sending a signal, or do you want a button that maintains a signal for 5 to 7 seconds? Those are very different. Apr 1, 2013 at 16:54
• If I had to guess, it would be a signal that lasts 5-7 seconds, to lift a block up and leave it there for enough time for the lava to pass. Apr 1, 2013 at 20:55
• @RussellWhitchurch Then they've asked an incomplete question and made the XY Problem mistake, where they ask for what they think is the answer instead of telling us what problem they're trying to solve. What they actually want is a bucket of lava in a dispenser. I've voting to close until the question is fixed. Apr 1, 2013 at 21:35
• Possible duplicate of How do I create a very long delay with Redstone? Jun 15 at 3:29

Here's a working concept of what you're probably looking for:

The trick is to split the output with varying delays, then each of them take their turn keeping the gate lifted up. The more rows of repeaters you have (with increasing length), the longer the button's signal.

Another concept to use is a little bit more complicated to set up, but is more efficient and space effective in the long run.

1. Connect your button to an RS NOR latch to trigger it ON when you press the button.
2. Create a long line of repeaters that matches the amount of time you want the button to stay "pressed".
3. Connect your line of repeaters to turn your RS NOR latch OFF.

The result is a button the turns the output on, then after X seconds your repeaters will turn it back off.

If you don't know, an RS NOR latch is a bit that "remembers" it's state. Build it by making a redstone clock with 2 nodes.

``````"-" = Red stone
"O" = Solid block
"*" = Torch on block

--O
*X*
O--
``````
• You're missing a label for `X`. Apr 1, 2013 at 23:33
• i've changed the machine: the button became a lever and I just setteled a sticky piston witha block atatched to it above it and I made a reset button so that the piston goes down and the lever gets nocked of. I've based it on an idea from sethbling, he made a machine that puts its self out, that uses a lever that activates a piston that via a redstone circuit puts the lever out. that machine is used in his map 'pile of bodies'. so I used that as an idea for my machine. and I changed the machine a little bit so the tntis changed to suffication. Apr 2, 2013 at 12:26