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
COMMUNITY QUESTION
Blood summon on bullet hit?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
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.
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)
http://wiki.roblox.com/index.php/Raycasting This should teach you everything you need to know to accomplish this.
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