> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/examples/pingspoof.md).

# PingSpoof

```js
script.description = "Delays all packets by a set amount of time."

const delay = new IntSetting(script, "Delay", "The amount of ms to delay each packet for", 500, 0, 5000);

spoofManager.onPacketSend(packet => {
    return "DELAY";
});

spoofManager.onUpdate((packets) => {
    for (let packet of packets) {
        if (packet.hasAged(delay.getValue())) {
            spoofManager.release(packet);
        }
    }
});
```
