Hello, I have a question. What method can I use to determine at what rotation the blood part with decal should go when the player gets hit by a bullet? I'm just asking for a method since I don't have any idea how I can achieve this. Thank you

4 comments

0

Try having a script for the parts of the body. In the script, have a Touched function. Then check if the object who is touching the body is a bullet. Then clone blood to the bullet location.

0

Actually, I want to make it so that it basically works like in Half Life 2 (so basically that the blood decal aligns with the wall)

0

http://wiki.roblox.com/index.php/Raycasting This should teach you everything you need to know to accomplish this.

0

if the bullet touches a humanoid then add a particle effect on the bullet. make sure to do it before your script destroys the bullet