I made my first plugin. Any suggestions to improve it?

I’m excited to share my very first plugin for Roblox Studio: UI Swapper!

:hammer_and_wrench: What does it do?

UI Swapper allows you to easily convert one UI element into another while keeping their properties intact. For example:

Frame to Scrolling Frame? it will replace Frame that you selected with a Scrolling frame with exact same properies. And it can do so with any object from this list:

  • Frame
  • Scrolling Frame
  • Canvas Group
  • Image Button
  • Image Label
  • Text Box
  • Tex Button
  • Text Label

:exclamation: Be cearful, scince it can replace any object, even scripts or other valuable files, and despite having an Undo function it`s still important to be aware.

:wrench: How it works

  1. Select any UI object(s) in your game.
  2. Choose the target type you want to convert them to.
  3. Click a button, and voilà – your UI is swapped, with its properties preserved wherever possible!

:gear: Settings

There are two features that can be turned on and off in this plugin to make using it more comfortable:

Auto select: as long as this setting is on, whatever you swap will remain selected. (Set to “On” by default)

Ignore active: I found it frustrating and unintuitive that whenever you swap, for example, Image Label to Image Button, “Active” property remains at “False” so I added the feature to ignore initial “Active” property. (Set to “On” by default)

:construction: Testing Mode

Since this is my first plugin, it’s still in the testing phase. I’ve tested it to ensure it’s stable, but there might be a few bugs lurking around. If you find any, I’d really appreciate it if you could let me know so I can fix them! :pray:

:sparkles: Why I made this plugin

I often found myself needing to switch between UI types—especially when inexperienced scripters would use, for example, a TextBox instead of a TextLabel in their UI. Recreating objects and reapplying properties every time was a tedious and time-consuming process. So, I thought, why not make a tool to simplify this? And here we are!

:arrows_counterclockwise: Updates


18.01.25

  • Fixed an issue where the Zindex property was not transferred for Frames

20.01.25

  • Added the “Ignore Name” setting
  • Fixed an issue where objects were incorrectly swapped with Text Label instead of Text Box.

:link: Try it out!

You can find the plugin →Here

I’d love to hear your feedback! What features should I add? How can I make this tool even better? Let me know your thoughts!

2 Likes


Best

Yeah, working on it, sorry :sweat_smile:
Should be ok now

Bro this is actually very good plugin, when i make ui and i made a mistake i want to change it something but it takes so much time, thank you i hope good things happen to you

1 Like