Hi, I'm looking on how to can I get the damages done by a player to a block. This is to make a block with, let's say, 1000 HP and everytime someone hits it with a sword, arrow its HP will decrease. Not sure this is possible, or maybe do I've to calculate damage of every action, check if if he's helding a sword and says it makes 50 hp damage. This is for a small plugin that will reward the first team to destroy their block. Thanks
No other way? Maybe can I make an NPC with no collision? If there's collision players will be able to push it :\