Escape Menu Bug

Recently, If I try to open menu more then a couple of times, Roblox will throw this error my way and not give me a path to where it came from.

The buttons for the Escape menu seem to dissapear as well, it also bugs out and stops working

I tested 3 diffrent Empty games and refreshed my pc as well as restarting roblox studio and reinstalling it. Im pretty sure this is a roblox bug.

It’s saying that the instance ‘Modules’ does not exist under ‘RobloxGui’ ScreenGui. Check if it exists, or if it is accidentally deleted or set to nil but some script. Would it be possible to show the script that opens the menu?

ah sorry, its the roblox escape menu.
there is no code that i put it, it simply glitches and stops working then throws that error when i try to press escape