Basically, all menus come down to this.
a) Stop or pause the game when the trigger for the menu comes out
b) Run the correct event based on what the player presses next
So to stop the game, once your trigger has occurred, from the above example, When Bird collides with enemy, either use the set time scale to 0, or set your variable if you are using a variable to control when your game events should run. Next just create the sprites for the menu and buttons at the location you want them to be.
As for going back to the main menu or resetting the game, use the go to layout action and the restart layout actions. As for a resume button, just delete all the menu sprites, and set the time scale back to 1 or your variable to the appropriate setting.