flopping all over the place - Clipped with Medal.tv Here it is fully added into my game if you’re curious. Later I’m going to add ragdolling if you hit the ground while in the middle of a trick
Looks awesome! Can’t wait to see what your game turns into
Thank you!
Character minimum
flop rush cyberfunk - Clipped with Medal.tv Here it is, fully added! Doing a trick and then hitting the ground makes you flop/ragdoll. You can also hit P to ragdoll by yourself.
It’s not like your losing like 95% game performance, your only just loosing like 0.01%
.
anybody noticed that resetting makes your character look kinda laggy?
example (reset compared to ragdoll)
Yea I noticed this too but it probably has something to do with Roblox and not the script.
Set the character’s parts network owner to the player when they die
do you mean ALL of the parts or the HumanoidRootPart?
All the parts
character limit character limit
The ragdolling appears to be working, however it is nothing like what you showcased in the videos.
Is this an issue with collision or what?
Are you changing the state of the humanoid in any way?
Hey im having trouble with the Ragdoll,
When im knocking the dummy back and ragdolling it, it stays in the air for like 2 seconds then goes down, any solutions?.. Im not changing the humanoidstatetypes and Im using the npc version ( i didnt alter the script )
From any other scripts? I have not. I don’t change the humanoid state from any other scripts.
For anyone having problems with the NPC version of the script in 2024, I did 2 things and it works great for me now!
- In the function replaceJoints(), change this:
for _, motor: Motor6D in pairs(Character:GetDescendants()) do
to this:
for _, motor in ipairs(Torso:GetChildren()) do
For some reason it was only finding the RootJoint motor6D for me! This fixes that.
- In the function Ragdoll(value: boolean), change the Enum.HumanoidStateType.Ragdoll to Enum.HumanoidStateType.FallingDown, like this:
function Ragdoll(value: boolean)
if value then
Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
replaceJoints()
push()
else
resetJoints()
Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
end
end
Enum.HumanoidStateType.Ragdoll is deprecated now, and FallingDown works more consistently. Since it force disables the GettingUp state type, this makes NPCs fall down more consistently.
Hope this helps!
omg thank you sooo much!! I was having the same problem.
Awesome fix! I’ll update the NPC version with this change.
For some reason the ragdoll quite weird for me :
Don’t know what could be causing this, all I did was convert the code to a module script.
anybody found a fix for this yet?
just set the network owner of all the bodyparts to the player when the character dies. Maybe that will fix it.