Hi, I am trying to do an effect with the ragdoll that makes it look like roadkill, but the ApplyImpulse isn’t working. Here is my code:
for i, v in pairs(character:GetChildren()) do
if v:IsA("MeshPart") or v:IsA("Part") then
v.Massless = true
end
if v:IsA("Accessory") then
v.Handle.Massless = true
end
end
character.HumanoidRootPart.Anchored = false
character.HumanoidRootPart:ApplyImpulse(Vector3.new(0,1000,0))
local Character = plr.Character
local hum = Character:FindFirstChild("Humanoid")
local humRP = Character:FindFirstChild("HumanoidRootPart")
local ForceMulti = 1000
humRP:ApplyImpulse(humRP.CFrame.LookVector * ForceMulti + Vector3.new(0, 10, 0))