I don't really know if this is something with the Humanoid or something with what I need to put in scripts. Any suggestions on how to fix this? Thank you!

4 comments

1

humanoid.Health= humanoid.Health - damage, this works for players and NPCs since they both have humanoids

1

also humanoid:TakeDamage(value)

0

Also do the NPC's contain Humanoid? If not, they won't take damage.

0

Also if you're using a Humanoid with a different name then I'd use FindFirstChildOfClass("Humanoid"):TakeDamage(val) when obtaining the npc's humanoid (assuming it has one)