I want to drop a certain amount of trip mines before the cooldown starts and restarts the process

I tried putting a delay and making a integer to give it amount to drop and then get hit with a delay.