To find out how many UFOs had friendly aliens onboard, we can calculate \( \frac{1}{6} \) of the total number of UFOs spotted.
The total number of UFOs is 30. We calculate:
\[ \frac{1}{6} \times 30 = 5 \]
Therefore, the number of UFOs that had friendly aliens onboard is \( \boxed{5} \).