I have npcs that I do not want people to just kill when they aren't monsters
COMMUNITY QUESTION
How would I go about making an invincible npc?
2 answers
Multiple ways you can do this.
Change the humanoid's name to something the player cannot damage(anything BUT Humanoid usually).
Remove Humanoid(though that gets rid of their nametag/hp bar.)
Change HP and MaxHP to 0(This will make them virtually invincible as long as nothing is checking for 0 or lower hp.)
Change 'MaxHealth' in the Humanoid Properties to 0.
Here's a example.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Setting a Humanoid's health to math.huge, or removing the Humanoid all together if you don't plan on animating it or fighting should work just fine.