local Players = game:GetService("Players") local bot = workspace:WaitForChild("GreeterBot") while bot.Parent do local origin = bot:GetPivot().Position local nearest, distance = nil, 22 for _, player in Players:GetPlayers() do local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if root then local position = Vector3.new(root.Position.X, origin.Y, root.Position.Z) local gap = (position - origin).Magnitude if gap > 0.5 and gap < distance then nearest, distance = position, gap end end end if nearest then bot:PivotTo(CFrame.lookAt(origin, nearest)) end task.wait(0.18) end