when player is knocked out they teleport to a room then the game ends.
Life cycle for (when player knocked out)
wire it to a teleporter.
(when teleported to teleporter)
wire to end game device.
or channels
ok but i need it to end when all players on a team are knocked out not one
When player is knocked out they teleport to a room then the game ends - Help - Gimkit Creative
consider searching before you post
Materials:
Counter
Relay
Lifecycle X2
Teleporter
end game device
wire repeater
counter:
starting value: 0
target value: 0
scope: player
visible in game: no
Lifecycle01 - event: game start
lifecycle02 -event: player knocked out
relay: all players
wire repeater: 0.5 second delay
wiring:
lifecycle01, relay: event occurs —> trigger relay
relay, counter: relay triggered —> increment counter
counter, end game device: counter target value hit —> end game
lifecycle02, wire repeater: event occurs —> send wire pulse
wire repeater, teleporter: received wire pulse —> teleport player here
wire repeater, counter: received wire pulse —> decrement counter
note: the wire repeater is because a player does not immediately respawn, so teleporting the player to that room needs to happend a little bit after the respawn