A plugin used to convert UI to code, preferably inside a frame. The code is well formatted and indented, apart from some inevitable whitespaces.
It also has a ‘tracking’ feature, which can track changes inside the output script and execute these changes immediately to preview the live version of the code, without needing to click play in studio. Hence, the plugin requires you to enable loadstring for a full experience!
Why Convert2Lua?
I wanted to start out making plugins, but I had poor UI designing skills. I made this, hence, to help in making UI that can’t help but be made using code.
The UI of the plugin was also made using the plugin
The code for this is quite unpolished, in one script and a bit disorganized. However, it does what it’s supposed to do. The code is below, if you have any intention of modifying or looking at the code. Don’t forget to turn on loadstring in ServerScriptService!
When I click track on a frame it says to click on a localscript. When i click on one and click convert it says it doesn’t support local scripts. Am I doing something wrong or is this a bug?
You can only convert UI (Frames) and track changes in the localscript, you need to press the LocalScript first and click track.
Thanks for checking it out!
In my case it’s very useful for making my UIs modular and more manageable by using a MVC method and by having it generate code, it’s easier to make tweaks on the views. Most modern web servers utilize MVC and their views are mainly code generated.
This was always going to be an issue, though I don’t really consider it to be a big issue. This is a tool for everyone, just because some use it incorrectly doesn’t mean this plugin should be taken down, as it helps many people who use it for its intended purpose.