If you are writing the script, here is a "Clean Kill" logic snippet to get you started:
: Automatically rebirths the moment you hit the requirement, then teleports to the best available egg to spend the new currency. SWORDMAN SIMULATOR SCRIPT | AUTOFARM
Most simulators have "Secret Chests" or "Hidden Relics" that spawn randomly. : "Relic Snatcher." If you are writing the script, here is