Did you guy have the proble like me like when you attack the NPC and the humanoid heatlh is didn't reduce so how can i fix this? Please guy help me.
Your answer isn't constructive. But I'll try my best to find out what's wrong with it.
Make sure you use Humanoid:TakeDamage()
. Sometimes, subtracting or changing the values of the health directly might not work.
You need to find out if the NPC is getting hit by the item. If you have an onTouched
function with proper code, it should work.
If you may post your script, then I can help you way more, but this is all I can help you for.