The script is:
local rootPart = script.Parent:FindFirstChild("HumanoidRootPart")
local targetPos = workspace.FollowMe.Position
if rootPart then
rootPart.CFrame = CFrame.lookAt(rootPart.Position, Vector3.new(targetPos.X, rootPart.Position.Y, targetPos.Z))
end
while true do
wait(1)
script.Parent.Humanoid:MoveTo(targetPos)
end
But idk why it walks sideways
u/Mammoth_Dot_7514 — 14 days ago