If its r15 the i found this topic, This Will Help.
or if you want to fall like ragdoll without a moving only a jump then HumanoidStateType will help
EXAMPLE RAGDOLL CODE FROM HUMANOIDSTATETYPE
make localscript and put localscript into startercharacterscripts
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProccesed) --function for USERINPUTSERVICE
if input.KeyCode == Enum.KeyCode.R then -- if R key is pressed
game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Ragdoll) -- changes state
end
end)
part touching script ragdoll (with a module)
local cooldown = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
local module = require(game.ServerScriptService.Module)
module.Ragdoll(plr.Character)
cooldown = true
wait(1)
cooldown = false
end
end)
part touching without a module
local cooldown = false
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
hit.Parent:FindFirstChild("HumanoidRootPart"):SetNetworkOwner(nil)
plr.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Ragdoll)
cooldown = true
wait(1)
cooldown = false
end
end)
i added cooldown so when a player touches you have to wait 1 seconds.
for a part please use script and put script into part
works with r6 and r15 characters.