I’ve been trying to make a ragdoll, and I disable player movement by changing the HumanoidState to Physics. However, in this state, the player can still turn and twist with shiftlock. I tried disabling AutoRotate to prevent this, but it doesn’t work in a physics state. Is there a way I can disable the player from rotating while ragdolled?
local Players = game:GetService("Players")
local client = Players.LocalPlayer
task.wait(3)
local character = client.Character
local humanoid = character.Humanoid
humanoid.AutoRotate = false
humanoid:ChangeState(Enum.HumanoidStateType.Physics)
Humanoid.AutoRotate does work with this code snippet