LocatorMod Version 1
After long hours of debugging and making this module user convenient, I have finally finished my first ever publicly usable module, LocatorMod. This took me around 2 days to make, please read on!
Why did I make LocatorMod?
Recently, a group that I work for paid for a map that ended up having loads of viruses and unwanted items hidden throughout the game. I’m talking inside Models of Models of Models of Models of Models, etc.
In fact, I searched high and low for plugins or scripts that would allow me to efficiently delete named objects or scripts. I couldn’t find it. This led me to have to loop through the workspace’s descendants and find each script and destroy them from there, which honestly was a pain. I made this module for others who may be experiencing this same problem… with some other perks aswell!
Features
LocatorMod V1 currently allows you to:
- Locate Objects (in any area) that are named a certain name.
- Locate Objects (in any area) that are in a certain class.
- Locate All Scripts in an area.
- Search for Common Viruses inside of your game.
Keep reading!
Usage & Information
Documentation
Locator.LocateObject(ObjectName,Area)
This will locate any object that has the name of the string “ObjectName” inside of “Area”
Locator.LocateObjectOfClass(ObjectClass,Area)
This will locate any object class that has the classname of the string “ObjectClass” inside of “Area”
Locator.LocateAllScripts(Area)
This will locate any type of script (“Script”,“LocalScript”,“ModuleScript”) inside of “Area”
Locator.ShowCommonViruses(Area)
- [GOLDEN] This will search for any objects that have Unicode in their name inside of the “Area”. Example: ︎
- This will search for anything inside of the table “CommonVirusNames”, which can be found inside of the actual module script.
- This will also search for any “Fires”'s that have a script named anything inside the “CommonVirusNames” table, or any script name that has unicode.
Remember, it must be (Module).(Function) and not (Module):(Function)
Correct: Locator.ShowCommonViruses(Area)
Incorrect: Locator:ShowCommonViruses(Area)
Short Example (How-To)
local Locator = require(6243124510)
local ShowCommonViruses = Locator.ShowCommonViruses(workspace)
print(ShowCommonViruses)
Paste that code into the command bar (Located in View → CommandBar), open your output and boom! Done.
Remember, You can use the assetId to require the module or get the module below.
Constructive Criticism, Suggestions, Feedback, ETC.
If you have any constructive criticism, suggestions, bug reports or feedback, please do leave them below!
Open Sourced Module
Have fun with the source code here! If you want to stay updated with the features, I reccomend using the AssetID instead.