I made a script that makes character look where the camera looks, it works, but the problem is that the character looking backwards:
local RS = game:GetService("RunService")
local Player = game.Players.LocalPlayer
local Character = Player.Character
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local Camera = workspace.CurrentCamera
RS.RenderStepped:Connect(function()
HumanoidRootPart.CFrame = CFrame.new(HumanoidRootPart.Position, Camera.CFrame.Position + Camera.CFrame.LookVector)
end)
Someone please help me