Strike Lightning On All Players
Summon lightning bolts on every player at once
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Summons a lightning bolt on every online player simultaneously. This is categorized as misc because it demonstrates the /execute at pattern. Deals damage and creates thunder and fire effects.
/execute at @a run summon lightning_bolt40 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Lightning strikes all players at once.
- Each player takes lightning damage.
Related commands
Become nearly invincible
/effect give @p resistance 999999 255 trueAutomatically count how many players each player kills
/scoreboard objectives add kills playerKillCount {text:"Kills"}Make a team whose members can't hurt each other
/team add red
/team modify red friendlyFire false
/team join red @aSpread all players across a large area
/spreadplayers ~ ~ 50 200 false @a