Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Blood summon on bullet hit?

Asked by 6 years ago

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

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. thesit123 509 — 6y
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) BakonBot 26 — 6y
0
http://wiki.roblox.com/index.php/Raycasting This should teach you everything you need to know to accomplish this. Loughdough 291 — 6y
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 wookey12 174 — 6y

Answer this question