Restarts the replay buffer when saving a clip to prevent clip overlapping

...that are necessary:
- Download the lua file by clicking on
Replay-Restarter-For-OBSand the download symbol next toRaw.

- Move the file to a desired location.

- Head into OBS and
Tools&Scripts.

- Click on the Plus (
+) symbol on the left, navigate to the folders location and choose the lua script file (Replay-Restarter-For-OBS).

- (Optional) Change settings depending on your preferences.

Note
This script requires a delay of at least half a second between each toggle where nothing is recorded. The values below may depend on your computers hard- and or software.
| Time in seconds | Recommendation |
|---|---|
| 0.50 (lowest) | risky, test this properly before using! This may not re-enable! |
| 1.00 | fast, reliability may vary depending on your computers workload. |
| 1.50 | default, should work in all cases. |