Gui is working properly I want to clean the code but at the same time I don't.
Gui is working now.