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

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

Asked by 2 years ago

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

Log in to vote
0
Answered by 2 years ago
Edited 2 years ago

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`

Ad

Answer this question