Use :MoveTo() to move a humanoid to either their left or right

I’m trying to use :MoveTo() to move a humanoid to either the left or right of the direction they’re facing and unsure how to achieve this?

local Root = Character.HumanoidRootPart
local Humanoid = Character.Humanoid

--// Left 
Humanoid:MoveTo((Root.CFrame * CFrame.new(-5, 0, 0)).Position)

--// Right
Humanoid:MoveTo((Root.CFrame * CFrame.new(5, 0, 0)).Position)
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.