Line baking sheets with parchment paper.
In a large bowl, mix oats, coconut, peanut butter, and vanilla extract until combined.
In a saucepan, combine sugar, milk, butter, and cocoa powder.
Heat over medium, stirring occasionally until the mixture reaches a full boil.
Once boiling, stir constantly and let it boil for 90–120 seconds.
Remove from heat and pour over the oat mixture.
Stir quickly until everything is well combined.
Drop spoonfuls onto prepared baking sheets.
Lightly flatten using a sprayed spoon.
Let cool at room temperature until set.