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

How to use :GetStateEnabled() properly?

Asked by 7 years ago

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)

Answer this question