#directional ragdolls

1 messages · Page 1 of 1 (latest)

wanton sparrow
#

so i want to make ragdolls like this
if its respawn player just falls backwards
if its shot player flings a little bit to the direction of the bullet

how would i go on about making this system?

serene grove
#

Ragdoll the character then apply a subtle force backwards

wanton sparrow
#

if its shot i want him to fling

#

but i got it to work already

serene grove
#

then just apply more velocity based off each situation

wanton sparrow
#
        if (instance.Parent.Humanoid.Health <= 0) or willKill then
            task.spawn(function()
                repeat task.wait() until t_char.config.Ragdoll.Value == true
                wait(0.1)
                local bulletDir = (end_pos - origin).Unit
                local b = Instance.new("BodyVelocity",t_char.Head)
                b.Velocity = bulletDir * 100
                task.spawn(function()
                    wait(.1)
                    b:Destroy()
                end)
            end)
        end```

poop solution but works
kindred rose
#

BodyVelocity is deprecated use LinearVelocity, force it on HumanoidRootPart not Head so the whole assembly moves, and kill the repeat/wait loop use flag.Changed instead