My guess is that the issues are having to do with your character model itself? Not entirely sure. Try taking all accessories off your character including 3D mesh body parts.
It works fine for me, using the same place download you provided.
Video
My suggestions:
Set Players.CharacterAutoLoads to false, making it to where roblox will not spawn nor respawn characters.
In PlayerAdded function:
connect to character added function
local hum = char:WaitForChild(âHumanoidâ)
hum.BreakJointsOnDeath = false
hum.Died:Wait() â waits until character dies
disable Motor6D
enable ragdoll joins
wait(3)
Player.Character = nil
Player:LoadCharacter()
end)
Player:LoadCharacter() â to load initially
dont use this >
Workaround:
in a ServerScriptService Script:
put the functions that are in charge of ragdolling, waiting, and then unragdolling in _G table.
example:
_G.RagdollChar(Char, TimeFinished)
-- ragdoll Char
wait(TimeFinished)
-- unragdoll
end
dont use this ^
Another thing, Iâve been having trouble with cloning the character because for some reason Roblox is setting the Character modelâs Archivable boolean to false. Set that to true and then clone.
Actually I feel stupid for saying the _G.RagdollChar thing. That wonât work because itâs still running in the same thread as the script who is calling it.
Instead maybe create a BindableEvent or BindableFunction that you can fire so a different script that wonât stop because a player leaves can pick up on it and will run the ragdoll code.
This works! Thank you so much for this idea, this saves me so much grief.
I havenât needed to make the players walkspeed or jumpheight 0 yet. Iâm assuming you do this to prevent the character from breaking through the ragdoll and unragdolling?
Outside of that, Iâm already doing all of this⌠the issue is that the ragdoll wonât create itself when the character spawns with an R15 RigType. Any ideas of how to counteract that?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.