Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

When i attack the NPC why humanoid health is not reduce?

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.

4 comments

0

Post the script, we can't do anything without it.

0

scr0pt plz; u hurt my feelingz by not giving scr0pt ;-;

0

Give us the script? ;-;

0

yeah man i have this error to its so dumb

1 answer

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.

1 comment

0

thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.