I'm trying to make an amputation script where when a button is pressed a limb (LeftFoot) will fall off. I have everything working, but I want the foot to fall, It does fall but it won't collide no matter what I do. Here's the snippet:
LeftFoot.MouseButton1Click:Connect(function()
if Amputate.Occupant ~= nil and Amputate.Occupant.Parent.LeftFoot ~= nil then
Amputate.Occupant.JumpPower = 0
Amputate.Occupant.Parent.LeftFoot.LeftAnkleRigAttachment:Destroy()
Amputate.Occupant.Parent.LeftLowerLeg.LeftAnkleRigAttachment:Destroy()
Amputate.Occupant.Parent.LeftFoot.LeftAnkle:Destroy()
Amputate.Occupant.Parent.LeftFoot.CanCollide = true --Despite setting it to collide, it still won't.
Amputate.Occupant.Parent.LeftFoot.Anchored = false
wait(3)
workspace.LeftFoot:Destroy()
Amputate.Occupant.JumpPower = 35
else
warn("Nothing to amputate!")
end
end)
