I'm trying to make the character aim/face at the mouse. I did this but it just shot my character forward and barely rotated it with the mouse.
MouseAim = Mouse.Hit.p
UserBodyAim = game:GetService("RunService").RenderStepped:connect(function(dt) Character.HumanoidRootPart.CFrame = CFrame.new(Character.HumanoidRootPart.Position, Vector3.new(MouseAim.x,MouseAim.y,MouseAim.z)) wait(10) UserBodyAim:disconnect() end)
Try using the mouse.lookvector instead, I would put 0 on the y axis though due to the fact that it gets glitchy on that axis.