Preheat your oven to 350°F (175°C).
Mix together the flour, melted butter, and chopped pecans. Press the mixture into a 9x13-inch baking dish to form a crust.
Bake the crust for 15-20 minutes, then let it cool completely.
Beat the softened cream cheese and powdered sugar until smooth. Fold in half of the whipped topping. Spread over the cooled crust.
Whisk together the pudding mixes and cold milk until thickened. Pour over the cream cheese layer.
Top with remaining whipped topping and sprinkle shredded coconut on top.
Chill for at least 2 hours, or overnight if you’re patient. Cut into squares and serve cold.