-
What do you want to achieve?
I want to make the players character facing towards the camera look -
What is the issue? Include screenshots / videos if possible!
The Character is rotating permanently when using my script below(video for more information) -
What solutions have you tried so far?
Ive looked into the dev forum but not only one of the scripts on the dev forum works.
Here is the code to rotate the player
local Character = script.Parent
local RootPart = Character:WaitForChild("HumanoidRootPart")
local Cam = workspace.CurrentCamera
function rotate()
RootPart.CFrame = CFrame.new(RootPart.Position, Cam.CFrame.LookVector)
end
game:GetService("RunService"):BindToRenderStep("rotate", 200, rotate)