Skip to main content

RagdollHumanoidOnFall

This item only works when running on the server. Server

When a humanoid is bound with this, it will ragdoll upon falling. Recommended that you use UnragdollAutomatically in conjunction with this.

Functions

new

RagdollHumanoidOnFall.new(
humanoidHumanoid,
serviceBagServiceBag
) → RagdollHumanoidOnFall

Constructs a new RagdollHumanoidOnFall. Should be done via Binder. See Ragdoll.

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Constructs a new RagdollHumanoidOnFall. Should be done via [Binder]. See [Ragdoll].",
            "params": [
                {
                    "name": "humanoid",
                    "desc": "",
                    "lua_type": "Humanoid"
                },
                {
                    "name": "serviceBag",
                    "desc": "",
                    "lua_type": "ServiceBag"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "RagdollHumanoidOnFall"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 28,
                "path": "src/ragdoll/src/Server/Classes/RagdollHumanoidOnFall.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RagdollHumanoidOnFall",
    "desc": "When a humanoid is bound with this, it will ragdoll upon falling. Recommended that you use\n[UnragdollAutomatically] in conjunction with this.",
    "realm": [
        "Server"
    ],
    "source": {
        "line": 8,
        "path": "src/ragdoll/src/Server/Classes/RagdollHumanoidOnFall.lua"
    }
}