Help improving this model

I found this blood system on the devforum but the code looks very janky and outdated, is there any way I can improve it for today’s standard? Like making the blood not parent to character and such.

It doesnt work for me. How do i make it work? I just want to see how it works.

you need to make a script that fires the blood