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

Make a humanoid shatter like glass?

Asked by 6 years ago

Hi guys, so what I need help with today is making an enemies pieces shatter like glass killing the humanoid on a collision. Now I had 2 ideas for how to do this.

1. Make the enemies pieces actually shatter and if the head or chest is hit, it dies.

2. Make it so wherever the hit is detected, particles spawn.

***I am not extremely good at Roblox Lua but here are the things I have tried:

Modifying a blood script (But none of the effects happen to humanoids, only players)

Reshaping breakable glass into a humanoid and animating (But that didn't work either)

Researching extensively on possible ways to do this or things that I could modify to meet this goal (But there was nothing about anything remotely similar)***

So, I am out of ideas and I am hoping that some of you might know how to do this. Thank you so much guys!

NOTE: If its sarcastic or unhelpful, please just don't comment nooby things like "Rekt Rekt get gud with codez nub"

0
scripting helpers is not a request site, add the scripts you already had made / found and tell us what the problem is with it. :) DanielDeJong3 158 — 6y
1
This is more like a concepts question. I think it's fine. OldPalHappy 1477 — 6y

1 answer

Log in to vote
-2
Answered by 6 years ago
Edited 6 years ago

What i did was, I just duplicated head, so say when I shoot the head, it looks like a head shot, I add a break glass script, the reason u duplicate the parts is because its going to shatter in pieces so, the arm,is going to be missing unless you want that. If that is the case then don't duplicate the parts, so add a break glass script, if you want sound add playsound on hit or touch.

0
@OldPalHappy and @DanielDeJong2 here is and example of a helpful idea that doesn't just give answers. Thank you jeter. I will keep this open in case anyone has alternate ideas. ChainMailZombie 0 — 6y
0
Also @jeterhipobunbun I think I follow your idea but what type of break glass script? Do you have a specific one in mind? ChainMailZombie 0 — 6y
0
Like go to free models and type breakable glass, then yiu should find a few, then once you find what your looking for, paste the breakable,glass script in the body part, once the head is shatterd the humanoid would relize there is no head, so it will kill it self. It works jeterhipobunbun -7 — 6y
0
Thanks. ChainMailZombie 0 — 6y
View all comments (4 more)
0
Np jeterhipobunbun -7 — 6y
0
My problem is that the glass is all groups of parts. To make a humanoid you can have one part per limb. ChainMailZombie 0 — 6y
0
Right, so insert your glass script in each part that is a limb. jeterhipobunbun -7 — 6y
0
Jeter, he wasn't asking for a free model. He wants an actual idea of how to script it. If you're just going to tell people to use free models, then this isn't the site for you. Async_io 908 — 6y
Ad

Answer this question