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

How do I make my weapons kill NPCS?

currently my guns can kill other players, however they can not damage my zombie NPCs

1 comment

0

Remove the check which validates if the hit .parent i a player ...

1 answer

Weapons damage an item inside players called a 'Humanoid' (I'm pretty sure you already know this). Most likely, the Humanoid in the zombies is named something else, so the script in the gun can't find it and regards to the zombie as an ordinary part. So make sure that the Humanoid inside the zombies is named "Humanoid".

I had this problem too, and this fixed it.

Accept if this helped

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