Hey, I’m having an issue with my code currently.
I’ve made the camera so it makes your Character face the same direction. The only issue I get is this:
Whenever I make it not set the Humanoid Root Part orientation on the X it just stops working entirely.
local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character
local RunService = game:GetService("RunService")
Character:WaitForChild("Humanoid").AutoRotate = false
RunService:BindToRenderStep("Camlock", 100, function()
script.Parent.HumanoidRootPart.CFrame = CFrame.lookAt(script.Parent.HumanoidRootPart.Position, game.Workspace.CurrentCamera.CFrame.Position)
end)
I need the camera to face the back of the head, and to not make the character tilt backward and forward.
Help please!