How to make a Win Detector in Minecraft(BEDROCK)

Channel:
Subscribers:
1,440
Published on ● Video Link: https://www.youtube.com/watch?v=ccpqrR3Mi3M



Category:
Guide
Duration: 5:39
593 views
13


Today I will show you how to detect the last player alive in a arena.
COMMANDS:
/scoreboard objectives add deaths dummy Deaths
/scoreboard objectives add People dummy People

/scoreboard players add @a People 1

scoreboard players add @a[l=0,lm=0] deaths 1
xp 1l @a[l=0]

/execute if score @a [c=1] deaths = @a[c=1] People run title @a title You won

/scoreboard players set @a deaths 1