Codify - Convert anything to Luau, TypeScript, Fusion, React, Vide, Rojo

Version 2.5.1

Get on Roblox Get on Itch.io

Demo version →

  • Added the option to hide a GuiObject’s BackgroundColor3, BorderColor3 and BorderSizePixel properties from generated code if its BackgroundTransparency is set to 1. BaseParts with a Transparency of 1 will also have their Color property omitted.
    • You can find this option under Settings → Snippets → Hide Object Fills.
    • If this option is enabled, GuiObjects with a BorderSizePixel of 0 will also have their BorderColor3 property ignored.
    • [!!!] This option is enabled by default.
  • Added the option to hide the TextSize property on text GUI elements[1][2][3] whose TextScaled properties are enabled.
1 Like

Is there a way to purchase this plugin with robux?

3 Likes

very useful plugin, has saved me hours of time during development.

2 Likes

Fusion is now at v0.3, may you update the plugin to use this version? The snippets don’t work directly anymore because New is not assigned. They’re in scopes instead.

Also, with the release of Instance:IsPropertyModified(), I believe it’s possible to shorten the generated property assignments. It should not assign the property if it is not modified! That will remove the unused propertys like BorderSizePixel that keep showing up in every GuiObject’s code…

I can’t enforce this currently, as people may still be using a version lower than 0.3. You can manually change the settings, however, I will probably set scopes as the default from Codify v3 onwards (which will allow for some breaking changes).


Codify has never applied properties when they’re unchanged from their default value. I think what you’re referring to is the “default” values Studio applies (for convenience) when you create them using the Insert Object menu vs. Instance.new.

Codify v2.5.1 introduced a setting that allows background and border-related properties to be omitted when the GuiObject is completely transparent; however.

(fwiw, the property methods are not yet enabled either, but I cannot wait for a full property API, which would mean I could eliminate HTTP requests entirely).

1 Like

Hey, I wanted to introduce you to my own instance framework:

It would be really cool if your plugin would be able to support it

I don’t plan on adding additional frameworks to the current version (v2.x) of Codify, but I’m determined to expand the capabilities of Codify in v3.x to allow for custom shareable generators.

Does it support vide jsx? I can see that it supports typescript jsx but i wanna make sure i can use it with vide :slight_smile:

I think so? As far as I know the core JSX syntax is identical regardless of whether you use Fusion, React or Vide. I think the only difference is that Fusion JSX also requires a “scope” param, which Codify doesn’t currently support. However, I don’t use TypeScript myself with Roblox, so I can’t confirm if this is correct.

Every time I hit play test, codify reopens, and repeatedly reopens even after closing it. Mildly annoying. I’ve been having this issue for a while, not sure since when. Each time I hit play test or open a place it opens, where I have to then close it until I hit play test again.

3 Likes

I’m aware of the problem and have a fix, but don’t have any internet at home at the moment to publish. Will update when I’m back online.

Are you using the free or paid version?

1 Like

I’m using the paid version.


1 Like

Version 2.5.2

Get on Roblox Get on Itch.io

  • Prevents Codify from forcing itself open when you didn’t want it open (i.e. remembers its open/closed state). After updating, you may need to close Codify manually in run mode, but it will stay closed thereafter, unless manually reopened.
3 Likes

the plugin keeps crashing when I run it could you fix this?

  • Are you seeing any errors in the Studio output window regarding Codify?
  • What are you trying to convert? Can you provide a copy of the model?
  • Are you using the free or paid version?

Using the paid version. And I can’t see any errors because it just freezes my studio and prevents me from closing it. I have to force kill studio when I press the convert to code button. I’m just using it on a part with some surface gui in it but even if I just use it on a single part with nothing special it crashes.

I’m unable to replicate this, even with a large model from the toolbox. Can you make sure your plugin is up to date, and possibly retry with Studio beta features disabled (if you have any turned on) to verify that’s not the problem?

hm alright I’ll try (ignore this message was too short)

it doesn’t say it needs and update and even with everything disable it still crashed

Can you DM me a model/place file of whatever it is you’re trying to convert and let me know what settings you’re using (i.e. framework, and any datatype formats if you’ve changed them from the default; a screenshot will be fine!), and I’ll see if I can replicate this and figure out what’s going on?