iirc it isn’t possible to get rid of the settings menu, but I looked it up and found something pretty close to what you’re looking for which is this : Hidable Topbar!
It hides the other aspects of the top bar such as the chat and backpack, but doesn’t hide the menu icon.