I want to prevent a humanoid from changing its state to ragdoll, but i can't seem to figure out how to use :GetStateEnabled() properly.

Here is what I have.

script.Parent.Humanoid:GetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)