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

Is there a way to disable explosions from killing players but not other ncps?

I'm using grenades to kill npc's and I was wondering if there's a way to just make the explosions kill them and not me or other teammates? I found a script that just disables the explosions from breaking joints from anyone, including them but thats not what I need. Do the explosions just break joints, and that kills you or do they reduce your health down all the way?

1 answer

✓ Accepted answer

If the grenades were a free model then it matters on what the scripting in it does. When a player's joints detach and the body falls apart the player usually dies but most likely the grenade lowers the player's health. The easiest way to do this is ( Go into "Model" ( In the top bar )> Click on "Spawn" > Go into spawns properties and find "Forcefield" > and make the number 9999999 ) but if you really want something other than a bubble around you the whole time, you would have to script the grenade yourself to not affect players which would be more complex.

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