The trailer for one of Robin Williams' final movies is available for viewers to see.

Robin Williams, Lauren Bacall & More Celebrities Who Passed On In 2014

The promo for the comedy Absolutely Anything started going viral over the weekend with more than one million views to date. The film is about a group of aliens who choose a human at random to give the power to be able to do anything he wants. He has the choice to use this power for good or evil, but if he takes the dark route, then the earth will disappear.

Neil Clarke (Simon Pegg) is chosen and he uses his powers for things that are a bit strange. One of them includes his clothing being able to come forward and dress him. Another is giving his dog the ability to speak. The dog's voice is from late actor Williams.

Robin Williams' Friends Open Up On Actor's Death, He Was 'Starting To Disconnect'

The aliens end up realizing that Neil is only using his gift for selfish reasons so the man decides to try something for other people. He tries to make all dead people come back to life, but it turns out that Neil has to be careful what he wishes for- when these people come back, they're not the members of society they used to be.

He also discovers the challenges of what it's like to president.

Absolutely Anything also stars Kate Beckinsale, Eddie Izzard and John Cleese. The movie hits theaters on August 14.

See the trailer below.