I have the ragdoll it works perfectly but I wanna make it so that once you stand in a un collided block you are automatically rag dolled.
game:GetService("ContextActionService"):BindAction("RagdollToggle", function(_,input) if input == Enum.UserInputState.Begin then variables_ragdoll.Value = not variables_ragdoll.Value events_variableserver:FireServer("ragdoll",variables_ragdoll.Value) if variables_ragdoll.Value == true then end end end, true, Enum.KeyCode.R)
This is the script that if you click r (computer) or ragdoll (on phone/iPad) you will be ragdolled. If you need more help understanding please put it in the comments section what u want.