Today i will remake a older video i had done as some of the commands no longer work.
COMMANDS:
DELETABLE COMMANDS:
/scoreboard players set yourname deaths 0
/scoreboard objectives add countheart dummy
/scoreboard objectives add deaths dummy Deaths
/scoreboard objectives add Kills dummy Kills
/scoreboard players set @a countheart 20
/scoreboard players add @a Kills 0
GIVE AND REMOVE BEDROCK FROM PLAYER:
/give @a bedrock 1 0 {"item_lock":{"mode":"lock_in_inventory"}}
/clear @a bedrock 0 1
DETECT KILLS:
/execute at @e[type=item, name="bedrock"] run scoreboard players add @p [r=50] Kills 1
/execute as @a[scores={Kills=1}] run scoreboard players add @s countheart 1
/execute as @a[scores={Kills=1}] run scoreboard players remove @s Kills 1
/kill @e[type=item,name=bedrock]
/kill @e[type=item,name=bedrock]
DETECT DEATHS:
scoreboard players add @a[l=0,lm=0] deaths 1
xp 1l @a[l=0]
/execute as @a [scores={deaths=1}] run scoreboard players remove @s countheart 1
/execute as @a[scores={deaths=1}] run scoreboard players set @s deaths 0
TOWER1:
/scoreboard players test @p countheart 22 23
/effect @p health_boost 1000000 1 true
TOWER2:
/scoreboard players test @p countheart 24 25
/effect @p health_boost 1000000 2 true
TOWER3:
/scoreboard players test @p countheart 26 27
/effect @p health_boost 1000000 3 true
TOWER4:
/scoreboard players test @p countheart 28 29
/effect @p health_boost 1000000 4 true
CRAFTING HEARTS:
/clear @p nether_star 0 0
/tag @p add checkme
/clear @p[tag=checkme] nether_star 0 1
/scoreboard players add @p countheart 1
/tag @p remove checkme
/testforblocks ~ ~1 ~ ~ ~1 ~ ~ ~ ~-1
/clone ~ ~1 ~ ~ ~1 ~ ~ ~ ~-2
Негізгі бет How to recreate the Life Steal SMP REMADE Minecraft(BEDROCK/Switch/ PS4/PS5/Xbox/Pc)
Пікірлер: 90