# Set up the Death Counter and Win / Loss Counter widgets

> Set up the free KickBot Death Counter and Win / Loss Counter in OBS: update counts with !death, !win, and !loss chat commands, buttons, or Saved data.

Source: https://kickbot.com/docs/widgets/death-and-win-loss-counters

Track deaths during tough games or your live ranked record on stream with KickBot's free [Death Counter](https://kickbot.com/widgets/death-counter) and [Win / Loss Counter](https://kickbot.com/widgets/win-loss-counter) widgets. You and your moderators can update either counter from Kick chat with `!death`, `!win`, and `!loss`, use **Actions** buttons on the dashboard, or type numbers in **Saved data**. Add either widget from the [Widget library](https://kickbot.com/dashboard/widget-library) and paste your widget URL into OBS as a browser source.

You need a [KickBot account](https://kickbot.com/docs/getting-started/create-your-account) with your Kick channel connected. For live Kick channel numbers instead of manual counters, see [Viewer Count](https://kickbot.com/docs/widgets/viewer-count), [Follower Count](https://kickbot.com/docs/widgets/follower-count), and [Sub Count](https://kickbot.com/docs/widgets/sub-count).

## Add a counter to OBS

| Widget | Recommended OBS size | Default display in OBS | Default chat commands |
| --- | --- | --- | --- |
| **Death Counter** | `300` × `80` | `Deaths 0` | `!death` |
| **Win / Loss Counter** | `360` × `80` | `Today 0 W - 0 L` | `!win`, `!loss`, `!wl reset` |

1. Open **Widgets** > **Library** ([Widget library](https://kickbot.com/dashboard/widget-library)) and click **Death Counter** or **Win / Loss Counter** (or click **Add to OBS** on the [Death Counter](https://kickbot.com/widgets/death-counter) or [Win / Loss Counter](https://kickbot.com/widgets/win-loss-counter) page).
2. Click **Add to my widgets**. KickBot opens the widget's settings page automatically.
3. Change the label, text, command words, and style next to the preview. Every change saves automatically and updates the preview right away.
4. Under **Add to OBS**, click **Copy** next to **Browser source URL** to copy your widget URL. You can also copy it later from [My widgets](https://kickbot.com/dashboard/saved-widgets) with **Copy URL**.
5. In OBS Studio, click **+** under **Sources** and choose **Browser**.
6. Paste your widget URL into **URL**, set **Width** and **Height** from the table above (`300` × `80` for Death Counter, `360` × `80` for Win / Loss Counter), and click **OK**.
7. Leave **Shutdown source when not visible** unchecked so chat commands and automatic live resets still work when you switch scenes.

![The Win / Loss Counter settings page with the preview at Today 12 W - 4 L, the !win, !loss and !wl reset test buttons, the Win +1, Loss +1, Win -1, Loss -1 and Reset actions, and the Chat commands settings](https://kickbot.com/docs/images/widgets/death-and-win-loss-counters/01-settings.webp "Change the count with the Actions buttons or with chat commands.")

Your widget URL also works as a browser source in Streamlabs Desktop, Meld Studio, XSplit, vMix, PRISM Live Studio, Lightstream, or any app that can show a web page. To put a counter in a KickBot scene, click **Choose scenes** under **Add to OBS** (see [Combine widgets in KickBot scenes](https://kickbot.com/docs/widgets/scenes)). For general browser source setup, see [Add a KickBot overlay to OBS](https://kickbot.com/docs/getting-started/add-browser-source-obs).

> **Caution:** Keep your widget URL private. Never paste it in chat or show it on stream.

## Settings

Open either counter in [My widgets](https://kickbot.com/dashboard/saved-widgets) to change its settings at any time. Changes save automatically and update open browser sources without a reload. See [Customize and control a KickBot widget](https://kickbot.com/docs/widgets/customize-and-control) for preview tools, test buttons, and scene-specific settings.

### Counter

**Label position** is hidden in **Pill** style (Pill stays on one line). **Show icon** is hidden in **Block** style (Block uses the accent label tab instead of an icon).

| Setting | What it does | Default |
| --- | --- | --- |
| Label | Text shown next to or above the count. Leave blank to hide. | Death Counter: `Deaths`<br>Win / Loss Counter: `Today` |
| Label position | **Same line**, **Above**, or **Hidden**. Hidden in **Pill** style. | `Same line` |
| Text *(Win / Loss Counter only)* | Score line format. Use `{wins}`, `{losses}`, and `{rate}` (win percentage rounded to a whole percent, `0%` with no games). Leave blank to show `{wins} - {losses}`. | `{wins} W - {losses} L` |
| Show icon | Shows a skull icon on Death Counter or a trophy icon on Win / Loss Counter. Hidden in **Block** style. | `On` |
| Reset when you go live | Resets the count (both wins and losses on Win / Loss Counter) to `0` when your Kick stream goes live. Works only while this widget is open in OBS. | `Off` |

### Chat commands

Turning **Chat commands** off hides the command word fields and **Who can use commands**.

| Setting | What it does | Default |
| --- | --- | --- |
| Chat commands | Turns chat command control on or off. Works only while this widget is open in OBS. | `On` |
| Command *(Death Counter only)* | Command word in chat. Case does not matter and `!` is optional in this field. Falls back to `!death` if it has no letters. | `!death` |
| Win command *(Win / Loss Counter only)* | Command word for wins. Case does not matter and `!` is optional. | `!win` |
| Loss command *(Win / Loss Counter only)* | Command word for losses. Case does not matter and `!` is optional. | `!loss` |
| Reset command *(Win / Loss Counter only)* | Command that sets both wins and losses to `0`. | `!wl reset` |
| Who can use commands | **Moderators and me** or **Only me**. Regular viewers and chat bots can never use commands. | `Moderators and me` |

On **Win / Loss Counter**, **Win command**, **Loss command**, and **Reset command** must all be different. If any two match, all three fall back to `!win`, `!loss`, and `!wl reset`.

### Look

Both counters use the shared [Style, colors, font, corners, and animation settings](https://kickbot.com/docs/widgets/styles-and-look), plus two of their own:

| Setting | What it does | Default |
| --- | --- | --- |
| Size (%) | Text size (`50` to `200`, step `5`). Scales down automatically so it never grows past the widget box in OBS. | `100` |
| Alignment | Aligns the counter **Left**, **Center**, or **Right** inside its OBS box. | `Left` |

![The KickBot Death Counter in Clean, Block and Pill on the top row, and the Win / Loss Counter below it, one of them with the win rate: 7 W - 3 L (70%)](https://kickbot.com/docs/images/widgets/death-and-win-loss-counters/02-styles.webp "Top row: Death Counter. Bottom row: Win / Loss Counter.")

## Controls

The **Actions** buttons sit below the preview and at the top of the **Saved data** tab. They work even when OBS is closed and update open OBS sources right away.

- **Death Counter:** **+1**, **−1** (stops at `0`), and **Reset** (asks for confirmation and sets deaths to `0`).
- **Win / Loss Counter:** **Win +1**, **Loss +1**, **Win −1**, **Loss −1** (each stops at `0`), and **Reset** (asks for confirmation and sets both wins and losses to `0`).

To set an exact number by hand, open **Saved data** (database icon at the top right of the settings column; see [Saved data tab](https://kickbot.com/docs/widgets/customize-and-control#saved-data-tab)):

- **Death Counter:** click **Deaths** (default `0`), type a whole number, and press Enter or click outside to save.
- **Win / Loss Counter:** click **Wins** (default `0`) or **Losses** (default `0`) to edit either value directly.
- **Reset all:** clears all saved data for the counter back to `0` (asks for confirmation).

## Chat commands

Chat commands start on and work while open in OBS. Depending on **Who can use commands**, either you and your Kick moderators (**Moderators and me**) or only you (**Only me**) can run them. Regular viewers and chat bots are ignored, even with a moderator badge. Neither widget replies in chat.

### Death Counter commands

If you changed **Command**, replace `!death` with your word.

| Command | What it does | Who can use it |
| --- | --- | --- |
| `!death` or `!death +` | Adds `1` death. | Broadcaster and mods (or broadcaster only) |
| `!death -` | Subtracts `1` death (stops at `0`). | Broadcaster and mods (or broadcaster only) |
| `!death +5` or `!death -2` | Adds or subtracts a specific whole number. | Broadcaster and mods (or broadcaster only) |
| `!death 12` | Sets the death count directly to `12`. | Broadcaster and mods (or broadcaster only) |
| `!death reset` | Resets deaths to `0` right away. There is no confirmation in chat. | Broadcaster and mods (or broadcaster only) |

### Win / Loss Counter commands

If you changed **Win command**, **Loss command**, or **Reset command**, replace `!win`, `!loss`, or `!wl reset` with your words.

| Command | What it does | Who can use it |
| --- | --- | --- |
| `!win` or `!win +` | Adds `1` win. | Broadcaster and mods (or broadcaster only) |
| `!win -` | Subtracts `1` win (stops at `0`). | Broadcaster and mods (or broadcaster only) |
| `!win +5` or `!win -2` | Adds or subtracts a specific number of wins. | Broadcaster and mods (or broadcaster only) |
| `!win 12` | Sets wins directly to `12`. | Broadcaster and mods (or broadcaster only) |
| `!win reset` | Resets wins to `0` without changing losses. | Broadcaster and mods (or broadcaster only) |
| `!loss`, `!loss +`, `!loss -`, `!loss +3`, `!loss 4`, `!loss reset` | Same actions for losses. | Broadcaster and mods (or broadcaster only) |
| `!wl reset` | Resets both wins and losses to `0` right away (send with nothing after it; no confirmation in chat). | Broadcaster and mods (or broadcaster only) |

If two moderators send a plain `+1` or `-1` command (such as `!death`, `!win`, or `!loss`) at the same moment, it counts once so the same death or match is not counted twice. Include a number to add several at once, such as `!death +2` or `!win +3`.

## Before the first event

- **In OBS:** Death Counter starts at `0` (`Deaths 0`), and Win / Loss Counter starts at `Today 0 W - 0 L` (`{rate}` stays `0%` until a match is recorded).
- **In the dashboard preview:** While your numbers are `0`, KickBot shows sample numbers so you can check sizing and colors.
- **Across OBS restarts:** Your numbers stay saved in KickBot and return right where you left off when OBS reopens, until you reset them yourself or with **Reset when you go live**.

## Good to know

- **OBS must be open for chat commands:** Chat commands and **Reset when you go live** only work while the counter is open in OBS. While OBS is closed, use **Actions** or **Saved data**.
- **Multiple scenes or copies:** Scenes using the same installed counter share one saved total. Keep one copy open at a time: reuse the same browser source across OBS scenes with **Paste (Reference)** and leave **Shutdown source when not visible** unchecked, or add it to [KickBot scenes](https://kickbot.com/docs/widgets/scenes) with **Choose scenes**. To run separate counters for different games or challenges, open the `⋯` menu in [My widgets](https://kickbot.com/dashboard/saved-widgets) and click **Duplicate**.
- **Test buttons and Clear test events:** Command test buttons (`!death`, or `!win`, `!loss`, and `!wl reset`) appear at the end of the **Test** row on the settings page and run as if you sent them with broadcaster and moderator badges. Testing an add command updates both the preview and open OBS browser sources (saving the added count if OBS is open). Reset tests (`!wl reset` and **Stream start**) reset only the dashboard preview and never wipe your live OBS count. Right after testing off stream, click **Clear test events** at the top right of the preview (it appears after your first test) to go back to the saved data from before your first test. Never click it while live, because it also removes real changes that came in since then.
- **Custom code:** Click **Remix** at the top right of the settings page on a computer to make your own editable copy in the widget editor.

## Troubleshooting

**Chat commands do not change the counter.** Check that **Chat commands** is on, the browser source is open in OBS with **Shutdown source when not visible** unchecked, and the sender matches **Who can use commands** (regular viewers and chat bots are always ignored). On **Win / Loss Counter**, check that **Win command**, **Loss command**, and **Reset command** are all different.

**Typing `!death` twice quickly only added 1.** Plain `+1` and `-1` commands sent back-to-back count once so two moderators do not double-count the same event. Use `!death +2` (or click **+1** in **Actions**) to add more than one right away.

**Win rate does not show on Win / Loss Counter.** Add `{rate}` to the **Text** box under **Counter**, for example `{wins} W - {losses} L ({rate})`.

**Show icon or Label position is missing.** **Block** style hides **Show icon**, and **Pill** style hides **Label position**. Pick another **Style** under **Look** to use them.

**The text is cut off or blurry.** Set the OBS browser source to `300` × `80` (Death Counter) or `360` × `80` (Win / Loss Counter) in **Properties**. To resize it, change **Width** and **Height** in **Properties** or **Size (%)** under **Look**, not the red frame on the OBS canvas: dragging the frame stretches the picture and can blur the text.

For more browser source fixes, see [Add a KickBot overlay to OBS](https://kickbot.com/docs/getting-started/add-browser-source-obs) and [Widget troubleshooting](https://kickbot.com/docs/widgets/troubleshooting).

## FAQ

**Can viewers use !death, !win, or !loss in Kick chat?**

No. Only you and your Kick moderators (when **Who can use commands** is **Moderators and me**) or only you (**Only me**) can run these commands. Regular viewers and chat bots are ignored.

**How do I show my win rate percentage on the Win / Loss Counter?**

Open your Win / Loss Counter in [My widgets](https://kickbot.com/dashboard/saved-widgets) and add `{rate}` to the **Text** box under **Counter**, for example `{wins} W - {losses} L ({rate})`.

**Can I change the count without typing a chat command?**

Yes. Use the **Actions** buttons (**+1**, **−1**, **Win +1**, **Loss +1**, **Reset**) on the widget's settings page, or open the **Saved data** tab to type any number directly. Both work even while OBS is closed.

**How do I reset my counter automatically at the start of every stream?**

Turn on **Reset when you go live** under **Counter**, and keep the browser source open in OBS when your stream starts. You can also reset at any time with **Reset** in **Actions**, `!death reset`, or `!wl reset`.

**Can I have separate death counters for different games?**

Yes. Open the `⋯` menu on your Death Counter in [My widgets](https://kickbot.com/dashboard/saved-widgets) and click **Duplicate**. Each copy has its own saved count, settings, and widget URL.
