How do I make a team sensor?

I am trying to make a bedwars map, and it has hunger and thirst mechanics, but i need to make it so if a teams bed is destroyed, they cannot respawn.

(example: red’s bed is destroyed, a property is updated for that team, anyone on that team gets knocked out, that knocked out player is now spectating)

Bed destroyed → Lifecycle settings: When Player dies → Team switch to Spectating

I think that should work-

but how do i make it sense who’s team had their bed destroyed. each bed on my map has their own channel that gets transmitted when the triggering bed is destroyed

There is a whole tag on bedwars. You might find it there.

Here is a post with guides on bedwars:
(:newspaper: Resources) Resources for Bedwars - Community Made Guides - Gimkit Creative

1 Like