Robin Williams as Legolas