Well, why don't you write both? Write the book first and see how well it does on the market. If it does well and you know you have a following, write the screenplay. If it gets popular enough, you might even get a movie deal. Though, you never know unless you try.