Type
ModelCreated
Apr 6, 2024Updated
Apr 12, 2024UniversalLocalScripts is a module that allows LocalScripts to run in locations like the workspace, including the currentCamera and other players' characters.
Why run local scripts in the workspace?
In other popular game engines -- such as Unity and Godot -- scripts will run regardless of what object they're attached to. This can make keeping code organized easier as any code relevant to an object and that operates on that object will likely be attached to it or descended from it instead of sitting in some random folder like StarterPlayerScripts.
UniversalLocalScripts aims to make LocalScript placement more intuitive from that perspective by allowing LocalScripts to run in a wider variety of locations.
For LocalScripts to take advantage of this new functionality, this plugin is all but required:
https://create.roblox.com/store/asset/6708420842/Default-LocalScript-changer
GitHub: Noobot9k/UniversalLocalScripts