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

NPC Humanoid won't take damage?

I made a Giant. Its script is good already. It moves in animation, chase people, and drop coin when killed. well supposedly drop coin.

The problem is that it won't take damage or die. I keep shooting it with rocket launcher but it just destroy its body parts except torso and head.

It still chase people around even without arms or legs.

Now, how do I fix that? I put the max health and health to 10 just to test it. It really is invincible. In a normal size, it get destroyed fine. But for some reason, giant won't take damage.

What am I missing?

4 comments

0

Do you have code to show?

0

We need code.

0

I would like to help you if you would show code...

0

There is no code to fix. I simply copied my enlarged body and put on a chase script. I just need it to take damage when being hit and not lose limbs. in a small regular size, it works fine,

2 answers

Your rocket launcher needs to have a larger blast radius and pressure to blow up a giant. It kills the smaller version because the explosives radius covers the humanoid. Also note that a forcefield will prevent a humanoid from taking damage or joints breaking via explosives.

I got it working. I need a special weapon that actually damage an NPC.

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