An MGX Gui is a GUI that a Roblox user adds to their own game. The purpose of an MGX Gui is to phish somebody else's account password. Many times they are in the form of a Maintenance GUI that asks for the victim's password. They are currently on the rise as Roblox removed comments from avatar items made by Roblox and games to stop the spread of phishing sites.
An MGX7 is an MGX GUI that is injected into other users' games using a level 7 exploit instead of being inserted into their own game through Roblox Studio. These GUIs are considered more "dangerous" as they can easily target more people.
Do not ever fall for these scams and enter your password as this will give possession of the account to another user. Staying safe from MGX GUI's is very easy as all you have to do is not enter your password. Many versions of MGX GUI's threaten to kick you out of the game after a set time or to permanently ban you. However, there is no reason to be scared because the worst they can do is kick you out of a server. To avoid being kicked out, you can enter a fake password to make the GUI disappear, but most of these GUIs have now been updated with a password checker so they are more convincing, but you should avoid any login gui in a Roblox game.