After days of searching, I found the perfect Lua Beautifier that can clean up your lines and etc. This is a very useful tool for beginners and scripters that just have one of the messiest codes.
(UPDATE)
This post has gotten lot of attention over time and I guess it’s time to inform people that this is actually a feature inside Roblox now added sometime in late 2020.
I have used this before, and working on projects with friends who write messy code (@tronP, this means you) is no longer a hassle. There is a character limit, which is the only issue that I have encountered with this. Might even port this to a plugin in studio down the line, who knows?
I prefer tabs. They’re much cleaner, 1 keypress instead of 4, yada yada let’s not do the tabs vs spaces debate here.
Sometimes I’ll find a nice module or repo that I want to use or modify, by its written with spaces.
A beautifier would make it easy to switch them to a format I’m more comfortable with.