Hi all!
I made a Plugin for connecting specific functions to events without having to actually program the connection.
This is useful if you need to repeat functions or effects across UI, or maybe things like kill bricks (CollectionService is better suited for this)
Updates:
- Added “Initialise” event, all functions connected to this event are invoked once when the object loads. This is useful for drop shadows, rainbow effects, etc
Download
You can find the plugin here
Example Events
How to use
If you’re going to use this plugin for your game, click the Install button. This adds the installer script to StarterPlayerScripts which handles all the connections. This is only needed once.
How to add connections:
You can disconnect any events no longer required by pressing the X.
You can add multiple connections of the same type, this is useful for adding more than 1 effect for
MouseEnter
/ MouseLeave
etc.
The above with an attribute Person: everyone
results in the following:
Scrip Manager:
Cons
There is no light mode.
Events cannot be disconnected at runtime, if you need to do this use the default method of programming the connection yourself.
There is no support for adding connections to multiple objects at the same time, there are behind this but it’s mainly the poor design choice I went with.
Might be buggy, please report any errors!
There is no server-side compatibility, this ONLY works on the client
Pros
There is no light mode.
Easy to use for non-scripters (assuming they have a scripter on the team who can program the functions)
Faster UI workflow
Events can be connected at runtime if you understand how the plugin works. (ask in comments)
Custom MouseEnter/MouseLeave behavior that’s less buggy than the existing one.
Thanks for reading!