Hello!
I wanted to replicate this ability from the mobile game: "Battle Cats". Anyway, there Is an ability for metal enemies, there HP Is how much times they need to be hit
(An example: If a metal enemy has 20 HP, the player must hit them 20 times before dying)
However, when It meets a critical hit, It will Ignore the metal enemy's ability and damage the enemy
Make a boolvalue that if true it is metal and the weapon only inflicts one damage on it. If you want to replicate a crit, make another boolvalue and make the weapon have a random chance of turning it to true. Whenever its true the normal damage is given.