The script below is Localscript and is in StarterCharacterScript.
wait(1)
local player = game.Players.LocalPlayer
local character = player.Character
local torso = character.HumanoidRootPart
local mouse = player:GetMouse()
character.Humanoid.AutoRotate = false
mouse.Move:connect(function()
torso.CFrame = CFrame.new(torso.Position, mouse.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
end)
How do I make the script stop working after a few seconds? and if you look at other direction while walking, humanoid tries to look at direction they are walking. How do I fix both of the problem?

3 comments
Kiriot can you help me on my post below his on questions tab most recent
No because I don't get what you're asking for in your question, devwitwiki
It's updated bro