How to make specific players invincible from explosions

basically im trying to make it so when a player buys an item in my game. it makes them invinicible from explosions

feel free to ask any questions

1 Like

I don’t think its actually possible to make players invincible to them.
From what I know currently, explosions break joints which kills the player no matter how much health they have even if they have a ForceField, they’d still die.

It is possible to make it so all players don’t die just by changing the explosion properties.

1 Like

I found a solution, but thanks either way

2 Likes

Could you share what it is? Cause I’d really like to know.

1 Like

basically use Explosion.hit and if it hit a player, check if the player has some thing (for example, a boolean value) that is suppose to prevent them from getting killed in an explosion

Actually ForceFields prevent explosions from killing players

2 Likes

In that case, you will have to set DestroyJointRadiusPercent to 0 but then your explosion force will still apply to the character, though that can be good or bad depending on what you want.

1 Like