I need help with making the game end automatically

System at the top

Set lifecycle to listen for game start

Wire lifecycle to relay, keep relay for all players.

Wire relay to trigger. Give the trigger this block:

Give counter 1 these broadcasts:

Counter 2:

Give both counters a target value of 0.

Wire both counters to the end game.

System in the middle

Wire bed to counter with a starting value of 1.

Make a property called “Bed of team 1” with these settings:

Make the counter update the property:

Do the same thing on the other side, but change the property’s name to have a 2 instead of a 1 (be sure to update the counter too).

System at the bottom

Make the lifecycle listen for when the player is knocked out.

Wire the lifecycle to the trigger.

Give the trigger this block:


(trust me, it looks weird, but it works)

Give the team switcher these settings:

This should work, I tested it. It uses 1417 memory.

4 Likes

I feel like my way is simpler but you can just choose which one is better. Btw that looks great! Im not sure if mine wroks anyway

Your’s is a whopping ten steps.

Yeah. But idk if it works

I mean even though mine is 10 steps it doesnt require as much devices. And his is split into sections. So if i split mine into sections it wouldnt be 10 steps either.

i tested yours gimslayer i does not work unless i did something wrong

Just use a end game device, like when bed is destroyed, end game automatically @king-brain if you need me to explain more just ping me!

Use this

1 Like

Don’t think checkers can do that…

If a property is set to the number of players on a team, it can.

Isn’t there a guide on this???

Yeah they do. If you set it to “equal to” and the number is 1. And then youll have to have a certain thing in your inventory like a banana and it have to say that in the checker. That is the thing that the checker will check. Then add a wire to the checker to a vounter to increase the counter

what does the wire from the bed to the counter do? @Fulcrum-19

I think it increments it, which changes a property value
and there’s a trigger/checker that checks the value of the property if its above below or equal to 1, if it is, it disables player respawning for that set team

Use this awesome guide:

1 Like

It decrements it.

I think urs didnt work bcs you didnt make it so that the zone is NOT active on gamestart. Thats prob what you did wrong. Or you didnt make the counters target value to 0

ok maybe i did that i might try it again

Did it work now? I really hope it did

Use this guide but remix it so that instead of players it for every team, so like every separate team I assume 4 teams so add when a counter reaches 0 it adds +1 to a counter and when that counter reaches 3 the game ends

But I think you have your answer from everyone else already