How to make friend or foe series in Minecraft(JAVA)

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



Minecraft
Game:
Minecraft (2011)
Category:
Guide
Duration: 2:22
73 views
4


Today i will show you how to make the friend or for series. This is when you reach 10 hearts you will be kicked or turned into spectator.
COMMANDS:
/scoreboard objectives add deaths deathCount "Deaths"

/scoreboard objectives setdisplay sidebar deaths

/tp @p[scores={deaths=10}] ~ ~2 ~
/kick @p
OR
/tp @p[scores={deaths=10}] ~ ~2 ~
/gamemode spectator @p







Other Statistics

Minecraft Statistics For shadowwalker

shadowwalker presently has 94,076 views for Minecraft across 80 videos, with his channel uploading 6 hours worth of Minecraft videos. This makes up 27.34% of the content that shadowwalker has uploaded to YouTube.