Any way of overwriting the Roblox Esc menu (menu that opens when pressing Escape) / force enter Gameplay paused state?

So I’m currently making a singleplayer game that needs a custom Escape menu for something like a map system, settings and saving, but there’s no way of making it open on Esc because its overwritten by the Roblox menu.

If I try to delete RobloxGui, it removes the menu BUT the game still doesn’t respond to Esc key.

So I thought maybe force entering a Gameplay paused state will be better, because it will be much easier to freeze everything. Is there a way to do this?

I’m 99% sure that you can’t. You would be trapping players inside your game.

“singleplayer game”
its not possible in any way?

yeah that doesn’t change anything

1 Like

I dont even think this is allowed

1 Like

i think thats the answer, but i wont mark it as a solution
probably someone knows how to do this

no its literally impossible… just think of it this way. Why would roblox allow you to stop players from entering the built in menu

Pretty sure the Escape menu is in CoreGui which u can’t access normally.
It is impossible to change it.

A game does it: You cannot leave this game - Roblox

Delete all CoreGui connections with LocalScript in ReplicatedFirst;

game.Players.LocalPlayer.PlayerScripts:Destroy()
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All,false)

This glitch is from @AdvancedOpenGL, so thank her!

4 Likes

i love when my camera and movement is breaking :slightly_smiling_face:
i will use another way of pausing the game by pausing on ` (backquote) or something like that, but still thank you for your respone

1 Like

You have to copy and put the movement and camera scripts in another container, unfortunately.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.