Swap lets you change the ClassName/class of objects and copy, cut, and paste properties, attributes and tags among objects. It works in all modes too, so you can use it while editing and play-testing.
Swap’s class converter analyzes the properties of the classes you select to accurately suggest new classes as you type. Combined with this, Swap also remembers what you convert, improving prediction accuracy over time.
Classes that begin with the same letters like “ImageButton” and “ImageLabel” or “TextLabel”, “TextButton”, and “TextBox” are tedious to type each time. Tab To Type lets you press the tab key or the space bar to autofill words inside of classes.
When you are ready to convert, press the swap button or the enter key if you are typing. You don’t need to worry about changing instance-type properties to the new class because Swap does that for you.
Conversion Guide
Insert and Include Descendants: Clones selected objects and their descendants and converts the clones of the selected objects to their target class.
Insert and Exclude Descendants: Clones selected objects and converts them to the target class.
Replace and Include Descendants: Converts selected objects to the target class and keeps their descendants.
Replace and Exclude Descendants: Converts selected objects to the target class and removes their descendants.
Attributes, properties, and tags can also be transferred among classes too. Just select some objects and choose something to copy, cut, or paste.
API Permissions
Script Injection: Is required if the class you are converting to is a script or has a descendant that is a script. This is also required if you want to change a script’s source when pasting properties.
HTTP Requests: are required for initial setup. After, you do not need to keep them enabled but doing so may result in more errors over time.
What’s new:
Swap is available for free on the Roblox Creator Store.
This update improves search, helps make the transition over to a new class easier, greatly expands on the copy/paste attributes feature, and includes a few changes and bug fixes.
A few changes have been made to improve class suggestions in Swap.
More recommendations have been added for WedgeParts, Humanoids, Sounds, and Configurations when nothing is being searched for.
Same-class results have been deprioritized in searches to allow more relevant classes to appear. If you convert to the same class, the class will be re-prioritized since conversion history has a large influence on results.
Just want to comment since there are basically none but your own, this plugin is fantastic; it is significantly better than Reclass and better looking as well.
The fact that it is free is absolutely astounding and is well appreciated. I was a Reclass user prior - and, as soon as I saw this - I switched. Haven’t regretted doing so, thanks for making this!
This update contains a few bug fixes to address problems created by some classes, includes changes to class data sourcing, and greatly improves class recommendations once again.
Changes:
Swap acquires the latest class data from a different source (s3.amazonaws.com → raw.githubusercontent.com). If you’ve been using Swap for a few months now, you may not see an HTTP request permission prompt from Roblox Studio.
Bug Fixes:
DynamicMesh now appears as EditableMesh in search and when converted to
Some classes like “Player” and “PluginAction” are no longer convertible because they have special Parent property or creation restrictions. These classes will not appear in searches and dont’t count as a selectable class anymore.
Full Excluded Classes List
AdvancedDragger
Breakpoint
DebuggerWatch
Dragger
GetTextBoundsParams
Noise
ParabolaAdornment
Player
PluginAction
RobloxEditableImage
StudioAttachment
StudioCallout
TrackerStreamAnimation
Improvements:
Contextual suggestions now consider superclass relatability and built-in recommendations when suggesting classes as you type
The library of built-in suggestions, that recommend classes when you haven’t typed anything, has been expanded from 38 to over 200.
This update and updates to all linked items fixes a major bug with TextBoxes. When TextBoxes were automatically made traversable in a recent update, it, combined with the existing system, caused text to be improperly positioned.
An update that reimplements the original text traversing system is coming soon to all affected items.
An error appeared in the output if anything was pasted without something being copied first
Improvements:
Update On Text Traversing
The system used to automatically move text so the cursor always stays in view (scrollable text) has been added back to Swap, CS Studio, and Performance. It will be added to CFS later.
The cut tool works like you’d normally expect: data from a chosen type is copied and removed from the object it was copied from. Using the cut tool on properties is functionally the same as using copy tool.
For classes that start with the same letters like “ImageLabel” and “ImageButton” or “TextLabel”, “TextButton”, and “TextBox” and often require a lot of typing to select, pressing the tab key or the space bar instantly fills words within class names.
Here’s what selecting one of these classes looked like before:
Now this is what it looks like:
Full release notes:
Bug fixes:
Class converter dropdown menu appeared after pressing enter to exit the search field while no class is selected
Class converter animation broke when instantly selecting no or invalid classes and then selecting valid classes
Some copied properties did not paste to objects
Changes:
Copying no attributes or tags will no longer empty the clipboard
When no class has been selected, instead of clearing the text field when focusing, text now clears when leaving
Improvements:
Better error reporting in the output
Resolved unnecessary checks while replacing classes and during Studio theme changes
Changed default recommendation Shirt --> Accessory to Shirt --> ShirtGraphic
Excluded the following classes from appearing in search and qualifying as a valid class in Swap’s class converter: (If you are affected by this, please reply below)
UserNotificationPayload
UserNotificationPayloadAnalyticsData
UserNotificationPayloadJoinExperience
UserNotificationPayloadParameterValue
ReflectionMetadataClass
ReflectionMetadataEnum
ReflectionMetadataEnums
ReflectionMetadataEvents
ReflectionMetadataClasses
ReflectionMetadataMember
ReflectionMetadataCallbacks
ReflectionMetadataFunctions
ReflectionMetadataEnumItem
ReflectionMetadataProperties
ReflectionMetadataYieldFunctions
HiddenSurfaceRemovalAsset
UI changes for a smaller overall horizontal size
Features:
Cut tool for attributes and tags (properties is available but is functionally the same as the copy tool)
Tab and space to fill words within class names like “t” → “text” in the class: “TextButton”
And in addition to that, Swap also automatically changes instance-type property values. This means that welded parts converted to MeshParts, SpawnPoints, etc, do not need to be re-welded.