How do I remove my Menu and show only End Game Options when I press "Esc"?

I know it requires scripting but I have no clue how to do that.
I've moved this thread to RGSSx Script Support, thank you!
Eventcommand: Change Menu Access - should be on Page 3 of the Eventcommands.
I dont know about the second part.

But maybe with Scriptline help: (Those can be used in Eventcommand "Script" on Page3)
Code:
SceneManager.call(Scene_Save)
SceneManager.call(Scene_Load)
SceneManager.exit
SceneManager.call(Scene_Gameover)

SceneManager.call(scene)
# scene = Scene to load. (example - SceneManager.call(Scene_Skill) )
# Scene_Menu, Scene_Item, Scene_Skill, Scene_Status, Scene_Title
# Scene_Save, Scene_Load, Scene_Name, Scene_Debug, etc.

Edit:
When the Game starts you would need to disable Menu acces once.
And activate a Switch.

Than you would need a Common Event on Parallel, with the before mentioned Switch as Condition for running.

The Eventcode would be:
Conditional Branch - Escape Button Pressed -If yes Show Choices: Quit Game or Resume.

In theory this should work, i did not test it.
First of all, forget those RMVX ACE script calls for they won't work in RMXP.

$scene = Scene_End.new

The script call above should do the job unless you need a customized scene script.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-remove-my-menu-and-show-only-end-game-options-when-i-press-esc.158028/