How to make a ESC Menu

Hello. I am trying to make an ESC Menu Example
Please give me useful feedback.

Thanks

  • Scaly

[lua]
hook.Add( “PreRender”, “cocks”, function()
if gui.IsGameUIVisible() and not gui.IsConsoleVisible() then
gui.HideGameUI()
yourshittyvguihere()
end
end )
[/lua]

Thank you

Never too late to say it, I suppose.

Better late than never! :slight_smile: