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

How does one turn off Humanoid Auto Rotate?

Whenever I try it says ": attempt to index global 'Humanoid' (a nil value)" .

1 comment

0

Post your code, please.

1 answer

✓ Accepted answer

Humanoids have a bool property called AutoRotate, and this determines if the Humanoid can turn with the camera angle that the Player's Camera is facing. Toggle it like this (LocalScript req.):

humanoid = game.Players.LocalPlayer.Character.Humanoid
humanoid.AutoRotate = false

4 comments

0

thanks btw im sorry that i didn't post a script for an example.

0

It's fine. As long as you're not asking for a script, it's fine.

0

Btw this only works locally and not serverside and i wanted it to be both locally and serverside :V

0

A server-side script would work, but I just prefer LocalScripts.

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