Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I slow down a humanoid's auto-rotation speed?

Hello, I am trying to figure out a way to change the speed of a humanoid's rotation speed[auto-rotate].

  • I've looked for this kind of topic beforehand, and the only one I found was about Gyro-CFrame but that didn't seem to be very customizable since I am trying to make a model slower with its rotation depending on its own size*(or is set by a default value)*.

  • But, If there is a better method with disabling auto-rotate please go ahead and send that as well. If could that is.

Thanks for reading, that is all.

1 answer

What you can do is

Firstly disable auto rotate with --Put this in a local script in StarterCharacterScripts

local player = script.Parent

local humanoid = player:WaitForChild("Humanoid")

local mouse = game.Players.LocalPlayer:GetMouse()

humanoid.AutoRotate = false

local gyro = Instance.new("BodyGyro",player:WaitForChild("HumanoidRootPart"))

`gyro.Name = "Rotate"

gyro.MaxTorque = Vector3.new(3000,3000,3000)

gyro.P = 3000

while wait() do gyro.CFrame = mouse.Hit end`

This discussion is preserved as it was. New answers, comments, and votes are closed.