Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make character body parts CanCollide?

Asked by 3 years ago

I'm making a gib script that disables the "Enabled" property in the Motor6D script for ragdoll script compatibility and I found out I need to make it server-sided for it to fall. So I made it server-sided and when I disabled the Motor6D on a server event, it fell, but it just fell through the baseplate. I want to figure out how to make the body parts CanCollide.

Code here:

game.ReplicatedStorage.TriggerMotor6DDisable.LeftArm.OnServerEvent:Connect(function()
    script.Parent.Torso["Left Shoulder"].Enabled = false
    wait()
    script.Parent["Left Arm"].CanCollide = true
end)

The empty wait() interval should be short enough for when it hits the base plate so it'll put CanCollide to true, but it just falls through the baseplate anyways

Answer this question