I'm doing an item that when you right click it it spawns a lightning when you look. I already made the item and the lightning part. I was wondering how could I remove durability each time I right click. And also maybe set a cooldown and make it do sword damage.
I know it's a lot to ask but I hope someone could help me for at least 1 of these things