Ok, not good. Anyhow, let me explain how I would go about doing this. @HiMoThYjustgoated welcome to this community! Seems like you are using a sort of psuedo-way of doing things. Here’s another way that I would prefer (but it is a little harder).
First
Get a game overlay device. Make it so it is in the top left, or wherever it should be. Next, set it so that it is not active on game start. Now, find blocks and go in the section called “Wire Pulse” Look under the tab called “For this device only” Find the “set text” block and drag it onto the main area. Next, get a block under the text section called “Convert numbers to text with commas” Now, get the subtraction block under the math tab and connect the two. In the first slot of the subtraction block, drag a get property block. To your right, type something like “timerprop” Now, in the second slot, put the number 1 (use the block in the math tab for it). That is all the block code you will need! Looks something like this:
Wait! That should be a one not a 20.
Second
Now, have a repeater that runs 20 times, once every second. Have a ko manager or lifecycle to determine when a player knocks someone else out. Other than that being connected to the counter, have it connect to the game overlay, looking something like:
When event occurs → Wire pulse
Third
Make sure your counter has a target of 0. When target reached, broadcast “nomoretimer” Then, have a trigger receive that channel, and in blocks, make something that says: Set property (timerprop) Value: 20. Finally, get a property device. Set it to be a number with a default of 20. Make sure the name is “timerprop”.
That should be all! Sounds a lot harder than it is.