you won't take damage as long as you are under the tazer's effect, once the effect wears off, you will start taking damage. It's allowed to do this afaik, you might have been wrongfully punished, you should make an appeal @Ban and infractions appeal.