I will show you how to build a simple lightning staff with command blocks (READ DESCRIPTION)
► Check out MINECRAFT REDSTONE Playlist: http://bit.ly/1VD9waN
/scoreboard objectives add lightning stat.useItem.minecraft.carrot_on_a_stick
Command block 1:
Command block 2:
/scoreboard players reset @p lightning
Command block 3:
/execute @p ~ ~ ~ execute @e[type=!Player,r=10] ~ ~ ~ summon lightning_bolt
"lightning" is just a scoreboard variable. Feel free to change it with anything you like, just make sure to also change it on command blocks 1 and 2, so for example, you used "carrot" instead, make sure that command block 1 is testing for "carrot" and command block 2 is resettting "carrot" instead of lightning.
Music is Path of the Goblin King, a royalty free music.
The Path of the Goblin King Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
► Check out MINECRAFT ANIMATIONS Playlist: http://bit.ly/22MEigC
► TWITTER ➨ https://twitter.com/Radapedaxa
► INSTAGRAM ➨ https://instagram.com/Radapedaxa
► GOOGLE+ ➨ https://plus.google.com/+Radapedaxa