【マイクラ】ヘッドショット判定付き「最強スナイパーライフル」コマンド!!

▼Commands introduced in the video▼ [Sniper Rifle] ※Preparation Command Block 1 (Impulse, Unconditional, Requires power) scoreboard objectives add PlayerID dummy Command Block 2 (Repeat/Unconditional/Always) execute as @r[tag=!login] run scoreboard players add "#PlayerID" PlayerID 1 Add 1 to the score if there is a player without the login tag Command Block 3 Chain (Unconditional/Always) execute as @r[tag=!login] run scoreboard players operation @s PlayerID = "#PlayerID" PlayerID Make the score the same as your own if there is a player without the login tag Command Block 4 Chain (Unconditional/Always) tag @a[tag=!login,scores={PlayerID=0..}] add login Tag an untagged player with a score of 0 or higher. *Main Unit Command Block 1 (Repeat, Unconditional, Requires Power) execute at @e[type=item,name=Telescope] run replaceitem entity @p[r=2] slot.weapon.mainhand 0 spyglass Replenish a spyglass with a nearby player. Command Block 2 (Chain/Unconditional/Always) execute as @e[type=item,name=Telescope] at @s at @p[r=2] run playsound random.totem @a ^^^1 10 5 1 Play a gunshot. Command Block 3 (Chain/Unconditional/Always) execute as @a [hasitem={item=spyglass,location=slot.weapon.mainhand}] at @s positioned ~~1~ at @e[c=1,type=item,name=Telescope,r=5] run scoreboard players operation @e[c=1] PlayerID = @s PlayerID Assigns the PlayerID to all telescopes within a 5-block radius of the player holding the telescope. Command Block 4 (Chain/Unconditional/Always) execute as @e[c=2] as @e[c=2] as @e[type=item,name="Telescope"] at @s run tp @s ^^^0.75 true TP the telescope out of range to prevent self-destruction. Command Block 5 (Chain/Unconditional/Always) execute as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[c=2] as @e[type=item,name="Telescope"] at @s unless entity @e[r=0.5,type=player] unless entity @e[r=0.5,family=mob] positioned ~~-1~ unless entity @e[r=1,family=mob] unless entity @e[r=1,type=player] positioned ~~1~ run tp @s ^^^0.5 true Moves forward 0.5 blocks at a time until hitting a player, mob, or wall. Command Block 6 (Chain/Unconditional/Always) execute as @e[type=item,name=Telescope] at @s as @a if score @e[c=1] PlayerID = @s PlayerID positioned ~~-1.75~ run damage @e[r=0.5,rm=0.1,c=1] 30 projectile entity @s Deal damage to a player with the same score as the telescope. Command Block 7 (Chain/Unconditional/Always) execute as @e[type=item,name=Telescope] at @s as @a if score @e[c=1] PlayerID = @s PlayerID positioned ~~-1~ run damage @e[r=1,rm=0.1,c=1] 20 projectile entity @s Deal damage to a player with the same score as the telescope. Command Block 8 (Chain/Unconditional/Always) kill @e[type=item,name=Telescope] Delete the telescope. ☆How to create a command block (Enter in chat) /give @s command_block ☆Turn off command logs (Enter in chat) /gamerule commandblockoutput false ☆Turn off player execution logs and TP logs (Enter in chat) /gamerule sendcommandfeedback false ☆Extend the effective range of a command (Enter in chat or command block) /tickingarea add circle ~~~ 4 area name (Any area name is fine) #Add LINE in the description to get the world in this video #Minecraft #Command

Why I Created The Immortal Verity...
▶︎

Why I Created The Immortal Verity...

[Minecraft] New execute support! Can you make a sniper rifle on the Switch?! [Minecraft Command/U...
▶︎

[Minecraft] New execute support! Can you make a sniper rifle on the Switch?! [Minecraft Command/U...

【マイクラ】狙われたら誰も逃げられない!究極の爆破魔法コマンド!!
▶︎

【マイクラ】狙われたら誰も逃げられない!究極の爆破魔法コマンド!!

I Flooded Her Entire World Until It’s Gone…
▶︎

I Flooded Her Entire World Until It’s Gone…

1000 Players Simulate Civilization: Rich & Poor
▶︎

1000 Players Simulate Civilization: Rich & Poor

[Minecraft Unified Edition] Switch compatible! 10 powerful magic spells you can use with just one...
▶︎

[Minecraft Unified Edition] Switch compatible! 10 powerful magic spells you can use with just one...

You Guys Asked Verity MORE FREAKY questions (Voice Chat)
▶︎

You Guys Asked Verity MORE FREAKY questions (Voice Chat)

Dream Manhunt Moments That Left Everyone Speechless
▶︎

Dream Manhunt Moments That Left Everyone Speechless

【マイクラ統合版】コマンドでヘッドショット判定付きの、本格的スナイパーライフルを作ってみた‼︎ [マルチ対応]
▶︎

【マイクラ統合版】コマンドでヘッドショット判定付きの、本格的スナイパーライフルを作ってみた‼︎ [マルチ対応]

【は?】見たら病気になりそうな理解不能すぎるマインクラフト【マイクラ・Minecraft】
▶︎

【は?】見たら病気になりそうな理解不能すぎるマインクラフト【マイクラ・Minecraft】

We Built The BEST Honey Farm in Survival Minecraft
▶︎

We Built The BEST Honey Farm in Survival Minecraft

バグった世界のマインクラフトをクリアしようとした結果...【 マイクラ / マインクラフト 】
▶︎

バグった世界のマインクラフトをクリアしようとした結果...【 マイクラ / マインクラフト 】

Dream Manhunt Moments That Fans Can’t Forget
▶︎

Dream Manhunt Moments That Fans Can’t Forget

EVERY MOB TOURNAMENT BUT THE MOB EVOLVES | Minecraft Mob Battle
▶︎

EVERY MOB TOURNAMENT BUT THE MOB EVOLVES | Minecraft Mob Battle

Minecraft, But I Secretly Use /tiny...
▶︎

Minecraft, But I Secretly Use /tiny...

【マイクラ】スイッチ対応!コマンド4つで!スナイパーライフルの作り方!マイクラ銃コマンド!【マイクラ統合版】スイッチ/Ps4/スマホ/パソコンなど対応!簡単コマンド!
▶︎

【マイクラ】スイッチ対応!コマンド4つで!スナイパーライフルの作り方!マイクラ銃コマンド!【マイクラ統合版】スイッチ/Ps4/スマホ/パソコンなど対応!簡単コマンド!

I Used The Only Mace to Ruin this SMP
▶︎

I Used The Only Mace to Ruin this SMP

【マイクラ】海外の天才が作った超規模監獄を紹介!【ゆっくり解説】
▶︎

【マイクラ】海外の天才が作った超規模監獄を紹介!【ゆっくり解説】