Skip to main content

RagdollBindersClient

This item only works when running on the client. Client

Holds binders for Ragdolls on the client. Be sure to initialize on the server. See RagdollBindersClient for details. Be sure to use a ServiceBag to initialize this service.

tip

Binders can be retrieved directly through a ServiceBag now.

Properties

Ragdoll

RagdollBindersClient.Ragdoll: Binder<RagdollClient>

Apply this binder to a humanoid to ragdoll it. Humanoid must already have Ragdollable defined.

local ragdoll = serviceBag:GetService(RagdollBindersClient).Ragdoll:Get(humanoid)
if ragdoll then
	print("Is ragdolled")
else
	print("Not ragdolled")
end

Ragdollable

RagdollBindersClient.Ragdollable: Binder<RagdollableClient>

Enables ragdolling on a humanoid.

RagdollaRagdollHumanoidOnDeathble

RagdollBindersClient.RagdollaRagdollHumanoidOnDeathble: Binder<RagdollHumanoidOnDeathClient>

Automatically applies ragdoll upon humanoid death.

RagdollHumanoidOnFall

RagdollBindersClient.RagdollHumanoidOnFall: Binder<RagdollHumanoidOnFallClient>

Automatically applies ragdoll upon humanoid fall.

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "Ragdoll",
            "desc": "Apply this binder to a humanoid to ragdoll it. Humanoid must already have [Ragdollable] defined.\n\n```lua\nlocal ragdoll = serviceBag:GetService(RagdollBindersClient).Ragdoll:Get(humanoid)\nif ragdoll then\n\tprint(\"Is ragdolled\")\nelse\n\tprint(\"Not ragdolled\")\nend\n```",
            "lua_type": "Binder<RagdollClient>",
            "source": {
                "line": 32,
                "path": "src/ragdoll/src/Client/RagdollBindersClient.lua"
            }
        },
        {
            "name": "Ragdollable",
            "desc": "Enables ragdolling on a humanoid.",
            "lua_type": "Binder<RagdollableClient>",
            "source": {
                "line": 39,
                "path": "src/ragdoll/src/Client/RagdollBindersClient.lua"
            }
        },
        {
            "name": "RagdollaRagdollHumanoidOnDeathble",
            "desc": "Automatically applies ragdoll upon humanoid death.",
            "lua_type": "Binder<RagdollHumanoidOnDeathClient>",
            "source": {
                "line": 46,
                "path": "src/ragdoll/src/Client/RagdollBindersClient.lua"
            }
        },
        {
            "name": "RagdollHumanoidOnFall",
            "desc": "Automatically applies ragdoll upon humanoid fall.",
            "lua_type": "Binder<RagdollHumanoidOnFallClient>",
            "source": {
                "line": 53,
                "path": "src/ragdoll/src/Client/RagdollBindersClient.lua"
            }
        }
    ],
    "types": [],
    "name": "RagdollBindersClient",
    "desc": "Holds binders for Ragdolls on the client. Be sure to initialize on the server. See [RagdollBindersClient] for details.\nBe sure to use a [ServiceBag] to initialize this service.\n\n:::tip\nBinders can be retrieved directly through a [ServiceBag] now.\n:::",
    "realm": [
        "Client"
    ],
    "source": {
        "line": 12,
        "path": "src/ragdoll/src/Client/RagdollBindersClient.lua"
    }
}