--IN A LOCAL SCRIPT
wait(0)
local p = game.Players.LocalPlayer
local maus = p:GetMouse()
local c = p.Character
while true do
game:GetService("RunService").RenderStepped:wait()
local nV = Vector3.new(maus.Hit.p.X,c.Torso.Position.Y,maus.Hit.p.Z)
c.Torso.CFrame = CFrame.new(c.Torso.Position,nV)
end |