When damaged, wound decals pop up on player

I’m trying to make it where whenever a player gets damaged, decals of like blood or something pops up on one of the body parts of the player. I’m also trying to get it on that hat as well.

Like Neighborhood Wars.

The problem is that I’m not sure how to do this.

If you don’t understand, I’ll show a GIF.

https://gyazo.com/e78c0129ca6840121c834e82042b5cf6

Any help is appreciated!

you are holding a tool, i think the script has to go inside of the tool
detect where you click on the character
at that position create decal

If it’s for a gun, use raycast to detect the position and insert a part with the blood decal in the character, move its position and weld it. If it’s a melee then divide the character into segments using invisible parts which are welded to the character and make them show the decal.

1 Like