Ragdoll
Base class for ragdolls, meant to be used with binders. See RagdollBindersServer. While a humanoid is bound with this class, it is ragdolled.
-- Be sure to do the service init on the client too
local serviceBag = require("ServiceBag")
local ragdollBindersServer = serviceBag:GetService(require("RagdollBindersServer"))
serviceBag:Init()
serviceBag:Start()
-- Enable ragdoll
ragdollBindersServer.Ragdoll:Bind(humanoid)
-- Disable ragdoll
ragdollBindersServer.Ragdoll:Unbind(humanoid)
Functions
new
Constructs a new Ragdoll. Should be done via Binder. See RagdollBindersServer.