Layrs

A death counter in OBS your mods update from chat

To add a death counter to OBS, make a Counter in Layrs and add its link as a Browser source. Then your mods type ;deaths +1 in Twitch or Kick chat and the number on stream goes up. There’s no script to install in OBS.

Updated

Add the counter

  1. Make a counter

    Sign in to Layrs with Twitch or Kick, click New source and pick Counter. It already says Deaths: 0.

  2. Say what it counts

    In Text, {n} is the number: keep Deaths: {n} or write 💀 {n} or Wipes: {n}. Mid-game already? Set Start at.

  3. Copy the link

    Click Add to OBS and copy the link.

  4. Add it as a Browser source

    In OBS, click + under Sources, pick Browser, paste the link into URL and set it to 560 × 130.

  5. Place it and lock it

    Drag it to a corner, then click the padlock so it stays put.

Already have a scene in Layrs? You don’t need a Counter: write “Deaths: 0” in any Text or Blank design and chat commands find it by the word next to the number.

Your mods update it from chat

Death counter chat commands for mods
Type in chatWhat happens
;deaths 23Deaths: 22 becomes Deaths: 23
;deaths +1, ;deaths -1One more, or one less
;deathOne more, the quick way
;kills 4 deaths 1Several numbers at once
;undoTakes back your own last change, when two mods counted the same death

The streamer and the channel’s mods can use them, in Twitch or Kick chat. Plurals and typos are fine, so ;died counts too, and !deaths 23 works as well. Every change shows in History under the mod’s name. A counter a manager locked doesn’t change from chat, and managers can switch chat commands off on the Chat bot page.

Commands reach counters on overlays that are open in OBS or the Layrs editor. Prefer buttons? Mods also get +1, −1 and Reset in Controls in Layrs. Every chat command.

The count stays between streams

The number is saved on Layrs’ server, not in OBS. Closing OBS, restarting your PC or a week offline doesn’t touch it, and neither does Reset session in Controls. It changes only when someone sets it, or presses Reset on the counter, which goes back to Start at.

What viewers can do

Viewers can’t change the count: Layrs only listens to the streamer and mods. And Layrs never answers a bare !deaths, since that’s how viewers ask other chat bots for the number, so your other bot keeps that job.

Want chat to count? Make a Layrs chat bot command like !died and, under On the overlay, have it run ;death.

FAQ

How do I add a death counter in OBS?

Make a Counter in Layrs, copy its link from Add to OBS and paste it into a Browser source.

How do mods update the death counter?

They type ;deaths +1 or ;deaths 23 in Twitch or Kick chat, or press +1 in Controls in Layrs.

Does it keep the count between streams?

Yes. The count is saved on Layrs’ server and only changes when someone sets it or resets it.

Does it work on Kick?

Yes. Kick mods type the same commands in Kick chat.

Will an OBS update break it?

It’s a plain Browser source, not a Lua script or plugin, so there’s nothing in OBS to break.

Is it free?

Yes. The counter and every other built-in widget in Layrs are free.

Make your death counter

Free, in your browser. Your mods can count from your next stream.