how can I open an GUI/menu for the player

hi, I am trying to make a revive system for my server, and I want to know how can i open a GUI/menu FOR the player with a function(they have to do nothing)
Continue to help post