Ragdoll script broke, but with no errors

  1. I was using this handy ragdoll script, when I noticed it doesn’t work when I use it in a new place and I don’t know hot to fix it

  2. When ragdolled the player’s joints lock up. Nothing errors in the console, it just stopped working

  3. I tried changing script types, using the original, and using deferent place templates. it only seems to work when I put it in an old game

original script:

my version:

3 Likes

The issue was in the RagdollTestScript.
In the characterAdded(player, character) function I found out that player.CharacterAppearanceLoaded:wait() can wait forever if it loaded before waiting.
The way I fixed this was by checking to see if it loaded beforehand.

if not player:HasAppearanceLoaded() then
  -- if the loaded event fires beforehand it will yield forever (not good)
  player.CharacterAppearanceLoaded:wait()
end
-- other code

My ragdoll v7 script has been updated with this in mind, but I don’t think the original script will be updated to fix the issue.

Thank you to the 0 people who helped me fix this! I also help this helps others with similar issues

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.