Animated Ragdolls!

I don’t get it… what am I doing wrong? (Script in scs)

wait(3)

print("Running")

local RAGIK_PATH = game.ServerScriptService.RagIK
local Character = script.Parent

local bRag = require(game.ServerScriptService.buildRagdoll)
local RagIK = require(RAGIK_PATH)
--bRag(Character.Humanoid)
local Mgr = RagIK.new(Character)
Mgr:build();
Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics);
Mgr:attachAll()
local anim = Character.Humanoid.Animator:LoadAnimation(script.Flail)
anim.Priority = Enum.AnimationPriority.Action4
anim:Play()


-- ragdoll the char
-- play the animation you created with the dummy
-- boom, posing ragdolls

This is all thats happening
image

You’re not ragdolling the player

How do I do that?

The example doesn’t tell me how

local RagIK = require(RAGIK_PATH)
local Mgr = RagIK.new(Character)
Mgr:build();
Mgr:attachAll();

-- ragdoll the char
-- play the animation you created with the dummy
-- boom, posing ragdolls

Use a ragdoll module (you can find some on the devforum)

1 Like