humanoid:move left roblox code example
Example 1: humanoid:move left roblox
game.Players.LocalPlayer:Move(Vector3.new(0, 0, -1), true)
Example 2: Move object beside player roblox :moveto()
local npc = script.Parent
local target = v.Character.HumanoidRootPart.Position
local maxDistance = 20
npc.Humanoid:MoveTo(target - CFrame.new(npc.HumanoidRootPart.Position, target).LookVector * maxDistance)