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

hows it going on the r6 version

nvm lol i made my own ragdoller

Couldn’t you use inverse kinematics with this by raycasting around the players arms/legs and heads to make the arms move towards objects closest to them to try to protect itself, same with the legs and then the head can move slightly to try to avoid hitting their head?

Make it and send it to me please I’ll pay you

Nice, do you have a R6 version?