Smites the player with lighting

this should smite the player with lighting but it is not working, whenever i click with the blaze rod, nothing happens