Zombie flops around after being killed

Hey, I tried your zombie and the truth is that the problems you are having have not happened to me, when it died it did not move as if it received an impulse

1 Like

then the problem could be some other script that your game has, which interferes with the zombieā€™s

1 Like

By the way, to deal with the problem I am killing the zombie with the classic Roblox sword found in the toolbox, perhaps the problem is caused by the weapon in your game

2 Likes

Oh ok Iā€™ll try not using the gun and see how he responds thank you for that, that could well be the problem

1 Like

No I tried the classic sword and it still happens smh I canā€™t believe something so stupid is this hard, it a little pathetic

wait,i just found something,I think the error may be in the function that is activated when the zombie dies

I think the error could be in the animation, the only thing I removed from the died() function was the line that anchored the zombie

myHuman.Parent.HumanoidRootPart.Anchored = true

Could you show me what the animation looks like exactly?when the zombie dies

Now that Iā€™m seeing it, maybe what caused that impulse was the animation that plays when the zombie dies, it just doesnā€™t seem like it was replicated to your client, that is, to your computer, I theorize that the animation was played on the server side.

The animation is just him falling back, thatā€™s all the it is. I wanted to give it more of a realistic death then just ragdollong or fall apart

Can I add you as a team member that way you can see first hand

It would help me find the error more easily, thatā€™s okay, you can add me to the game if you want

Does the zombieā€™s humanoid have the ā€œbreakjointsondeathā€ property disabled?

Yes itā€™s disable, I think we have to become friends for me to be able to add you

Iā€™m not sure, I havenā€™t dealt with programming death animations yet, but I think that when an npc dies with the ā€œbreakjointsondeathā€ property disabled, it automatically enters a ragdoll state, but what I do know is that in that ragdoll state the npc can still play animations, and those animations make it move a lot on the floor or receive pushes or impulses, by the way,yes, you must add me as a friend to be able to enter your project

I sent you a friend request as soon as you accept Iā€™ll set you as editor

By the way, there is a problem, when I enter your project and play the game, I will get several errors due to the animations, since they are not mine, it has already happened to me, I make animations in a shared project, and others are not active by not being the creator,Do you know how to solve that?

I did add another animation that plays just after the other one is finished, of just him laying on the ground, it kinda works but just looks weird maybe can look at it and let me know what you think

No Iā€™ve never heard of that before

I think there was a solution to that, it was to make a group and have that group linked to the game, and so those who are in that group and also have access to the project can see the animations, but Iā€™m not very sure

Ok Iā€™ll look into more tomorrow Iā€™m off the bad, Iā€™ll let you know what I come across

1 Like