Speedster Lightning Trail

Create a comic-book speedster effect in Minecraft with a crackling golden electricity trail, blue-white sparks, and glowing golden afterimage phantoms.

Java EditionParticle ArtMedium20 commandsTested on a real 26.2 & 26.3 server
Glowing golden afterimages and sparkling particles trace a circular speedster trail across a grassy Minecraft field at night. Download the GIF Video & GIF © www.9minecraft.net

Trails & PathsLightningGoldOrangeBlueCinematicPvPDecorationArmor standsRotation math13-20 commands

This command creation replicates the look of a comic-book speedster sprinting at superhuman velocity. An armored runner races in a circle, leaving behind a continuous stream of gold-to-orange electrical energy, blue-white lightning arcs, and glowing golden afterimages frozen mid-stride along the path.

It works by spawning temporary invisible trail nodes and phantom armor stands behind the runner every few ticks, which radiate layered particles before vanishing.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /team add c9_gold
  3. /team modify c9_gold color gold
  4. /summon marker ~ ~ ~ {Tags:["c9_all","c9_pivot"]}
  5. /summon armor_stand ~ ~ ~8 {Tags:["c9_all","c9_actor"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:golden_helmet"},chest:{id:"minecraft:leather_chestplate",components:{"minecraft:dyed_color":11546150}},legs:{id:"minecraft:leather_leggings",components:{"minecraft:dyed_color":11546150}},feet:{id:"minecraft:golden_boots"}},Pose:{Body:[18f,0f,0f],LeftArm:[-55f,0f,0f],RightArm:[45f,0f,0f],LeftLeg:[50f,0f,0f],RightLeg:[-50f,0f,0f]}}
  6. /team join c9_gold @e[tag=c9_actor]

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /execute as @e[tag=c9_pivot] at @s run tp @s ~ ~ ~ ~15 ~
  2. /execute as @e[tag=c9_pivot] at @s positioned ^ ^ ^8 facing entity @e[tag=c9_pivot,limit=1] feet positioned ^ ^ ^0.1 rotated ~ 0 run tp @e[tag=c9_actor,limit=1] ~ ~ ~ ~90 ~
  3. /scoreboard players add @e[tag=c9_pivot] c9_timer 1
  4. /scoreboard players set @e[tag=c9_pivot,scores={c9_timer=3..}] c9_timer 1
  5. /execute if score @e[tag=c9_pivot,limit=1] c9_timer matches 1 at @e[tag=c9_actor] run summon marker ~ ~ ~ {Tags:["c9_all","c9_node"]}
  6. /execute if score @e[tag=c9_pivot,limit=1] c9_timer matches 2 at @e[tag=c9_actor] run summon armor_stand ~ ~ ~ {Tags:["c9_all","c9_node","c9_ghost"],NoGravity:1b,Marker:1b,Invisible:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:golden_helmet"},chest:{id:"minecraft:golden_chestplate"},legs:{id:"minecraft:golden_leggings"},feet:{id:"minecraft:golden_boots"}},Pose:{Body:[18f,0f,0f],LeftArm:[-45f,0f,0f],RightArm:[45f,0f,0f],LeftLeg:[45f,0f,0f],RightLeg:[-45f,0f,0f]}}
  7. /team join c9_gold @e[tag=c9_ghost]
  8. /execute as @e[tag=c9_ghost] at @s facing entity @e[tag=c9_pivot,limit=1] feet rotated ~ 0 run tp @s ~ ~ ~ ~90 ~
  9. /scoreboard players add @e[tag=c9_node] c9_timer 1
  10. /execute at @e[tag=c9_node] run particle dust_color_transition{from_color:[1.0,0.95,0.2],to_color:[1.0,0.25,0.0],scale:1.5} ~ ~1.0 ~ 0.35 0.45 0.35 0 5 force
  11. /execute at @e[tag=c9_node] run particle dust{color:[0.4,0.85,1.0],scale:0.9} ~ ~1.1 ~ 0.4 0.5 0.4 0 2 force
  12. /execute at @e[tag=c9_node] run particle electric_spark ~ ~1.0 ~ 0.35 0.5 0.35 0.05 4 force
  13. /execute at @e[tag=c9_actor] run particle flash{color:[1.0,0.85,0.2,1.0]} ~ ~1.0 ~ 0.1 0.1 0.1 0 1 force
  14. /kill @e[tag=c9_node,scores={c9_timer=24..}]

How it works

Frames from the test run

Speedster Lightning Trail - frame 1Speedster Lightning Trail - frame 2Speedster Lightning Trail - frame 3

Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: Glowing golden figures posed mid-stride form a circular path filled with orange, blue, and white sparkling particles at night.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Open a creative world in Minecraft Java Edition and stand in the center of a flat open area.
  2. Run each of the 6 setup commands in chat one by one to create the scoreboard, gold team, pivot marker, and runner armor stand.
  3. Place 14 command blocks in a line or column, set them all to Repeat and Always Active (or connect 1 Repeating block into 13 Chain blocks).
  4. Paste the 14 loop commands into the command blocks in order.
  5. Watch the speedster sprint around the center with a glowing lightning trail and golden afterimages.
  6. When finished, run the remove commands in chat to clean up all entities, teams, and scoreboards.

Use it with real players

To give this speedster trail to yourself instead of the demo armor stand, remove the first two loop commands (which move the demo stand in a circle) and run /tag @s add c9_actor and /team join c9_gold @s. You can also delete loop command 8 and replace it with /execute as @e[tag=c9_ghost,scores={c9_timer=1}] at @p[tag=c9_actor] rotated as @p[tag=c9_actor] run tp @s ~ ~ ~ ~ ~ so the afterimages match the exact direction you are running.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /team remove c9_gold
  3. /scoreboard objectives remove c9_timer

FAQ

Why did the flash particle command give an error on older syntax?

In recent Java Edition versions, the flash particle requires a color option formatted either as a packed integer or a 4-element RGBA float list like {color:[1.0,0.85,0.2,1.0]}.

Can I change the color of the lightning trail?

Yes. Edit the RGB values in the dust_color_transition and dust commands (values range from 0.0 to 1.0) and change the team color in /team modify c9_gold color to match your speedster theme.

Commands used

/execute/kill/particle/scoreboard/summon/team/tp

Similar creations

Join 9Minecraft News & Guides