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_bolt- 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
God Mode (Resistance + Regeneration)
Become nearly invincible
Set World Border Size
Create or resize the world border boundary
Track Player Kills on a Scoreboard
Automatically count how many players each player kills
Create a Team With Friendly Fire Off
Make a team whose members can't hurt each other
Scatter All Players Randomly
Spread all players across a large area
Set Gamemode to Creative
Switch yourself into Creative mode