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

How would I go about making an invincible npc?

I have npcs that I do not want people to just kill when they aren't monsters

1 comment

0

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.

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.)

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