how to make the character move where the mouse is in roblox
game:GetService("RunService").RenderStepped:Connect(function()
Character:SetPrimaryPartCFrame(CFrame.new(HRP.CFrame.Position, Vector3.new(Mouse.Hit.Position.X, HRP.CFrame.Position.Y, Mouse.Hit.Position.Z)))
end)